altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Upgrade to React 18

Open haakemon opened this issue 1 year ago • 0 comments

Description

We need to upgrade to React 18 to be able to use our design system components.

Current known blockers:

  • React Router v5 is causing lots of typing errors, because of a fixed issue with typings for React 18.
  • Internal usages of React.ReactNode causes type errors after the upgrade. There is a codemod thay may help automatically fix these issues https://github.com/eps1lon/types-react-codemod
  • #8651
  • #8845

Additional Information

Blog post about why there are breaking changes for the typings https://solverfox.dev/writing/no-implicit-children/

Tasks

No response

Acceptance Criterias

No response

haakemon avatar Aug 19 '22 06:08 haakemon