Closed ray-marr-ho closed 3 days ago
@ray-marr-ho: Yes, this is planned. I think all it needs are updates to the types to make children
explicit.
PRs are welcome for that!
@ray-marr-ho: Assuming that you are only using the components, as of v0.10.0, they should now work with React v18. I've not been able to upgrade this repo to React v18 yet though (I ran into hydration issues), so please let me know if you run into any problems.
@ray-marr-ho: Assuming that you are only using the components, as of v0.10.0, they should now work with React v18. I've not been able to upgrade this repo to React v18 yet though (I ran into hydration issues), so please let me know if you run into any problems.
Thanks Daniel, it's still complaining on import. Which I think is because of the peerDeps in this file:
https://github.com/daniel-ac-martin/NotGovUK/blob/master/packages/components/package.json
@ray-marr-ho: Sorry. Could you try v0.12.1? (Check the breaking changes listed against v0.12 and v0.11, although if you are only using the components, they may not affect you. - https://github.com/daniel-ac-martin/NotGovUK/releases )
Are there any plans to update to React 18? I am working on some projects using React 18 where we're unable to use the library without
--legacy-peer-deps
due to React version