Skip to content

Update the frontend to React 19 and enable the React Compiler #740

Description

@anfragment

Description

Upgrade the frontend to React 19 and enable the React Compiler. React 19 brings automatic memoization via the Compiler and better runtime performance. This upgrade removes boilerplate and prepares the codebase for future React 19 features.

Acceptance criteria

  • React and React DOM upgraded from 18.3.1 to 19.2.7
  • @types/react and @types/react-dom upgraded to ^19.0.0
  • babel-plugin-react-compiler added and enabled in vite.config.ts
  • All Blueprint.js dependencies upgraded to versions that officially support React 19 (18 || 19):
    • @blueprintjs/core: 6.11.36.16.0
    • @blueprintjs/icons: 6.8.06.11.0
    • @blueprintjs/select: 6.1.86.3.0
  • Manual useMemo and useCallback removed — React Compiler handles memoization automatically
  • <Context.Provider> simplified to <Context> using React 19 syntax
  • tsc --noEmit passes without errors
  • vite build succeeds
  • ESLint shows no new errors (pre-existing warnings are unchanged)
  • npm install succeeds without --legacy-peer-deps

Implementation references

Scope

Originally posted by @kamalovk in #732 (reply in thread)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:dependenciesDependency updates.lang:javascriptIssues and pull requests concerning JS/TS code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions