Skip to content

React 18 #5947

@jcfilben

Description

@jcfilben

As of Nov. 15 2021 React 18 is in beta. The official v18 release is expected soon. The react team has stated, "Since concurrency in React 18 is opt-in, there are no significant out-of-the-box breaking changes to component behavior. You can upgrade to React 18 with minimal or no changes to your application code". For more information on React 18 see this article: https://reactjs.org/blog/2021/06/08/the-plan-for-react-18.html.

Currently Grommet is compatible with React ^16.6.1 and ^17.0.0. Grommet is planning to adopt React 18 but not use any of the opt-in features that would cause breaking changes. This will allow us to continue supporting React ^16.6.1 and ^17.0.0 in addition to React 18.0.0.

Action Items:

  • Test upgrading to the React 18 beta with Grommet. Confirm that storybook and unit tests are all working correctly.
  • Upgrade to React 18 when it is officially released.
  • Upgrade @testing-library/react from v12 to v13

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions