Does @daml/react support react v18?

When adding react 18 and @daml/react, I get the error that the two versions don’t mix.

Looking at daml/package.json at dfa648f585f985a25c35a60a2ba2a953e4f49598 · digital-asset/daml · GitHub it seems that only react 17 is supported.
Am I reading this correctly?

If so, can the react version be bumped?


It mainly means that we only tested React 17 so far. I wouldn’t be surprised if React 18 actually works without further changes.

1 Like

Oh that’s good to know. Are there plans on expanding the versions that are tested? Because right now you’d need to use a flag in npm to ignore the version limitation that @daml/react imposes on react.