Material-Ui和Material-Ui-Next之间的区别 [英] Difference between Material-Ui and Material-Ui-Next

查看:107
本文介绍了Material-Ui和Material-Ui-Next之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的项目中添加Material-Ui React组件,但我对这两个网站/库感到困惑.

I am trying to add Material-Ui React components in my project and I'm confused with these 2 websites / libraries.

Material-Ui-Next-> https://material-ui-next.com/

Material-Ui-Next -> https://material-ui-next.com/

Material-Ui-> http://www.material-ui.com

Material-Ui -> http://www.material-ui.com

两个网站都有指向Github的链接- https://github.com/mui-org/material-ui

Both websites have a link to Github - https://github.com/mui-org/material-ui

它们是相同还是不同?他们两个都使用import {something} from 'material-ui/xxx'导入组件.

Are they same or different? Both of them are using import {something} from 'material-ui/xxx' to import the components.

我很困惑,我应该在项目中学习/使用哪一个.你能建议吗?

I'm confused and which one I should learn/use in my project. Can you suggest?

推荐答案

Material-UI Next在预发行版中,因此您可以期望每个新发行版都可能会有重大更改.但这只是Material-UI的第2版,与以前的版本相比有很多改进.

Material-UI Next is in pre-release, so you can expect possible breaking changes with each new release. But it is simply version 2 of Material-UI, it has quite a bit of improvements over the previous version.

例如,您可以比较材料UI Drawer api >和 Material-UI Next .

For example, you can compare the Drawer api of Material-UI and Material-UI Next.

我建议阅读路线图,他们会解释为什么决定使用Material-UI Next从头开始.主要是

I'd recommend reading the Roadmap, they explain why they decided to start from the ground up with Material-UI Next. Mainly,

Material-UI始于3年前.生态系统已经发生了很大的变化 从那时起,我们也学到了很多东西. @nathanmarks开始了 雄心勃勃的任务,从头开始重建Material-UI 知识的优势来解决长期存在的问题.

Material-UI was started 3 years ago. The ecosystem has evolved a lot since then, we have also learned a lot. @nathanmarks started an ambitious task, rebuilding Material-UI from the ground-up taking advantage of this knowledge to address long-standing issues.

Material-UI接下来是将继续发展的东西,所以我个人会这样做.

Material-UI Next is what will continue to be developed moving forward, so I'd personally go with that.

这篇关于Material-Ui和Material-Ui-Next之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆