Поддерживаемые платформы
Узнайте о платформах, от современных до старых, которые поддерживаются Material-UI.
Браузер
Material-UI поддерживает все последние, стабильные релизы основых браузеров и платформ. You don't need to provide any JavaScript polyfill as it manages unsupported browser features internally and in isolation.
Edge | Firefox | Chrome | Safari (macOS) | Safari (iOS) |
---|---|---|---|---|
>= 85 | >= 78 | >= 84 | >= 13 | >= 12.1 |
An extensive list can be found in our .browserlistrc (check the stable
entry). Если вам нужна поддержка IE 11, воспользуйтесь устаревшим пакетом.
Because Googlebot uses a web rendering service (WRS) to index the page content, it's critical that Material-UI supports it. WRS regularly updates the rendering engine it uses. You can expect Material-UI's components to render without major issues.
Server
Для рендеринга на стороне сервера мы поддерживаем версии Node.js начиная с 10. Where possible, the LTS versions that are in maintenance are supported.
CSS prefixing
Be aware that some CSS features require an additional postprocessing step that adds vendor-specific prefixes. These prefixes are automatically added to the client thanks to jss-plugin-vendor-prefixer
.
The CSS served on this documentation is processed with autoprefixer
. You can use the documentation implementation as inspiration. Be aware that it has an implication with the performance of the page. It's a must-do for static pages, but it needs to be put in balance with not doing anything when rendering dynamic pages.
React
Material-UI supports the most recent versions of React, starting with ^16.8.0 (the one with the hooks). Have a look at the older versions for backward compatibility.
TypeScript
Material-UI requires a minimum version of TypeScript 3.2.