Skip to content

[Umbrella] React 18 Support #2536

@joshblack

Description

@joshblack

This issue is an umbrella for all issues associated with internally updating PRC to use React 18. As tasks, or group of tasks, are worked on the issues will be generated and replace the checklist below.

Note
Teams may use @primer/react with React 18, this issue specifically tracks internal changes and updates that need to be made.

This plan will be broken up into several stages:

  • Update the project to use React 18 by default, but make sure to still test against React 17 and still support those versions as peerDependencies
  • Update the dependencies of the project so that we can run React 18 and React 17
    • Where applicable, add conditional fallbacks for React 18 behavior for React 17
  • In the next major release of @primer/react:
    • Switch from React 17 to React 18 as the baseline version
    • Remove any fallback code relevant to React 17

Checklist

Metadata

Metadata

Assignees

Labels

Stalereact🚧 blockedSomeone or something is preventing this from moving forward

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions