Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
40 lines
2.6 KiB
Markdown
40 lines
2.6 KiB
Markdown
---
|
||
title: March 2019 Update
|
||
description: Here are the most significant improvements in March.
|
||
date: 2019-04-05T00:00:00.000Z
|
||
authors: ['oliviertassinari']
|
||
tags: ['Company']
|
||
manualCard: true
|
||
---
|
||
|
||
Here are the most significant improvements in March:
|
||
|
||
- We have removed the old styles modules 💅.
|
||
Be aware of the difference between `@material-ui/core/styles` and `@material-ui/styles`.
|
||
- The community has helped us to add many TypeScript demo variants. In order to minimize the overhead of handling two variants per demo (JavaScript & TypeScript), the JavaScript variant is generated from the TypeScript variant. If you are using TypeScript, you can ignore the `.propTypes =` assignations.
|
||
- We have migrated a few demos from the `withStyles()` API to the `makeStyles()` API.
|
||
If you are wondering which you should use, we would encourage the use of `makeStyles()` where possible. `withStyles()` is interesting for overriding component styles or for handling legacy class logics.
|
||
- We have made the [Box API](/system/react-box/) stable 🥳.
|
||
|
||
```diff
|
||
-import { unstable_Box as Box } from '@material-ui/core/Box';
|
||
+import Box from '@material-ui/core/Box';
|
||
```
|
||
|
||
- We have committed to [a new Roadmap](/material-ui/discover-more/roadmap/) (prioritized) for the next 6 months.
|
||
- We have migrated 50% of the codebase from the Classes API to the Hooks API. Once we are done with this task we can remove the internal usage of higher-order components.
|
||
- We have introduced [a simplified server-side rendering API](https://v6.mui.com/system/styles/advanced/#server-side-rendering), inspired by styled-components.
|
||
|
||
## Our roadmap intent for April
|
||
|
||
_(We'll do our best, no guarantee!)_
|
||
|
||
- We are almost done with [the v4.0.0-alpha breaking changes](https://github.com/mui/material-ui/issues/13663). You can already find [the upgrade path](/material-ui/migration/migration-v3/) from v3 to v4 in the documentation. Next, we will release the first beta version (no more breaking changes).
|
||
The results of the Material UI Developer Survey suggested that there are too many breaking changes.
|
||
Don't worry, it's almost over! We will focus on providing more components once we have released v4 stable.
|
||
- We will continue, and hopefully complete, the tasks we undertook:
|
||
- TypeScript demo variants.
|
||
- Migration from Classes to Hooks, removal of unnecessary internal components.
|
||
- Removal of `findDOMNode()`, support of `StrictMode`, forward of references.
|
||
- ❓ Please upvote our [GitHub issues](https://github.com/mui/material-ui/issues) if you want something specific. The number of 👍 helps us to prioritize.
|