Skip to content

React 19 has no exported member 'ReducerAction' #2572

@artemchiruhin

Description

@artemchiruhin

Describe the bug

In @jsonforms/react/src/JsonFormsContext.tsx, there is import ReducerAction, it works in React 18.3, but does not work in 19, because there is no such type (@types/react/index.d.ts)

Expected behavior

Project build

Steps to reproduce the issue

  1. Set up project with react 19
  2. Add
    "@jsonforms/core": "^3.7.0", "@jsonforms/react": "^3.7.0",
  3. Try to build the project
  4. See error TS2305: Module '"react"' has no exported member 'ReducerAction'.

Screenshots

Image

Which Version of JSON Forms are you using?

3.5, 3.7

Package

React Bindings

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions