Upgrading from material ui v1.0.0-beta

Multi tool use


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.