Material UI Version 0.20 to v4.3.0 upgrading

*爱你&永不变心* 提交于 2020-01-25 08:07:45

问题


My application was developed in older version of material UI i.e.,V0.20 and now I am planning to upgrade the material UI version to latest and add new modules to the application. I have a doubt is there any chance the developed application might break because of the new material UI upgrade?


回答1:


You need to go through the two migration guides in the documentation.

  • https://material-ui.com/guides/migration-v0x/
    • This guide covers migrating from v0.x to v1
  • https://material-ui.com/guides/migration-v3/
    • This guide covers migrating from v3 to v4

There wasn't a version 2 and the library jumped from v1 to v3 in order to match the version of @material-ui/icons. The only breaking change in v3 was how icons should be imported.



来源:https://stackoverflow.com/questions/57264842/material-ui-version-0-20-to-v4-3-0-upgrading

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!