FlexLayout icon indicating copy to clipboard operation
FlexLayout copied to clipboard

Upgrade to React 18?

Open kurtcodemander opened this issue 3 years ago • 4 comments

Are there any plans of upgrading dependencies to React 18?

I have updated my browser app to React 18 and when loading flexlayout-react as an ESM module from https://cdn.skypack.dev/flexlayout-react I get errors saying "You might have more than one copy of React in the same app".

kurtcodemander avatar Apr 16 '22 21:04 kurtcodemander

v0.7.0 has been updated to React 18 peer dependencies

nealus avatar Apr 17 '22 18:04 nealus

Perfect, thanks, that was quick!

kurtcodemander avatar Apr 17 '22 18:04 kurtcodemander

https://cdn.skypack.dev/flexlayout-react still imports react 17.0.1 and react-dom 17.0.1 even though it loads flexlayout-react 0.7.0. Is this a problem with cdn.skypack.dev or flexlayout-react?

https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/flexlayout-react.js

kurtcodemander avatar Apr 17 '22 18:04 kurtcodemander

found this; https://github.com/skypackjs/skypack-cdn/issues/88

nealus avatar Apr 18 '22 07:04 nealus