reactjs/react-rails

Feature Request: React 19 preparation

honia19 opened this issue · 2 comments

Hello Devs,

React release v19. After installing it I have errors like that for all components.

react-dom.development.js:13123 Uncaught Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, _store}). If you meant to render a collection of children, use an array instead

Could we release a new version with support React 19?

Thanks
Screenshot 2024-12-31 at 10 40 11

pioz commented

Same problem here. The NPM package depends from react 18. So you load 2 different versions of React that is bad. Need to update the NPM package to support React 19.

Our Changelog clearly states that the embedded version of react on our latest major version is 18.2.0.

We welcome PR contributions to update the embedded version of React.

Otherwise, I suggest migrating to ReactOnRails, which receives a higher level of support by Shakacode & does support React 19.