Skip to content

v5.0.0-alpha.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@oliviertassinari oliviertassinari released this 19 Jul 17:56
July 19, 2020

Big thanks to the 11 contributors who made this release possible.

@material-ui/[email protected]

Breaking changes

  • [core] Drop support for non-ref-forwarding class components (#21811) @eps1lon
    Support for non-ref-forwarding class components in the component prop or as an immediate children has been dropped. If you were using unstable_createStrictModeTheme or didn't see any warnings related to findDOMNode in React.StrictMode then you don't need to do anything.
    Otherwise check out the "Caveat with refs" section in our composition guide to find out how to migrate.
    This change affects almost all components where you're using the component prop or passing children to components that require children to be elements (e.g. <MenuList><CustomMenuItem /></MenuList>)
  • [Stepper] Use context API (#21613) @baterson
    Rely on the context over the React.cloneElement() API.
    This change makes composition easier.

@material-ui/[email protected]

Docs

Core