Open efleurine opened 5 years ago
I imported the original TextField from material-ui and it works without problems.
Experiencing same error during SSR. I think root of the problem in webpack's config: libraryTarget: 'umd'
. Probably need to change to: libraryTarget: 'commonjs'
This is happening to me using Gatsby, unfortunately (which statically renders). Hopefully the fix is as easy as changing the webpack config. For now I'm manually getting by by simply copying and pasting the code from this lib into my project :/
Updates? Gatsby is definitely blowing up on production build.
Nextjs has the same issue
Gatsby issues here as well, had to stop using the library. Hopefully 2021 is the year!
@de3web Just a friendly reminder that there is another library you can use now. Maintained and tested.
By just doing a
import { TextField } from "final-form-material-ui";
I am gettting a Reference Error of windows which is not defined.