Upgrading from material ui v1.0.0-beta

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Upgrading from material ui v1.0.0-beta



We are currently running an app with material-ui version 1.0.0-beta.27 and react version 16.2.0.



Recently we have been having performance issues with components such as the table. All solution we have found online simply say to upgrade to the latest version of material ui.



The problem is there is no clear and documented way to convert from 1.0.0-beta upwards. The biggest problem I see right off the bat is that our current import structure looks like


import Table from 'material-ui/table';



While the imports for the newer versions all look like


import Table from '@material-ui/core/table'



Any help would be greatly appreciated as I have no idea how to go about updating our project.




1 Answer
1



There's a migration guide. In particular, you should run their codemod which I imagine will fix the imports for you.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Keycloak server returning user_not_found error when user is already imported with LDAP

PHP parse/syntax errors; and how to solve them?

How to scale/resize CVPixelBufferRef in objective C, iOS