react-beautiful-dnd icon indicating copy to clipboard operation
react-beautiful-dnd copied to clipboard

Support React 18

Open ximex opened this issue 3 years ago • 3 comments

add react ^18.0.0 and react-dom ^18.0.0 as peerDependencies

ximex avatar Apr 06 '22 12:04 ximex

This will be great. Also running strict mode with react 18 does not work.

jacokok avatar Apr 08 '22 16:04 jacokok

Hi! As mentionned by @Paul6552, I'll work to add support for react v18 on @react-forked/dnd package. It's a fork of react-beautiful-dnd. You can read this blog post for more info :slightly_smiling_face:

I'll keep you updated here in this issue and on the issue on @react-forked/dnd repo.

You can also follow the progress here in this draft PR.

100terres avatar Apr 09 '22 16:04 100terres

@react-forked/dnd doesn't work with React 18 and StrictMode. https://codesandbox.io/s/determined-bouman-k81oqv

mehrnaznazari avatar Jul 12 '22 07:07 mehrnaznazari

🎉 @hello-pangea/dnd now supports React 18 and react strict mode!

  1. npm install @hello-pangea/dnd
  2. Replace all imports of react-beautiful-dnd with @hello-pangea/dnd
  3. Enjoy :)

Xhale1 avatar Aug 15 '22 15:08 Xhale1

Hey folks, this is available in the latest version. Let's continue the conversation around strictmode here: https://github.com/atlassian/react-beautiful-dnd/issues/2350

danieldelcore avatar Aug 30 '22 23:08 danieldelcore

Hey folks, this is available in the latest version. Let's continue the conversation around strictmode here: #2350

You mean there has been a new release of react-beautiful-dnd? Whats the version number?

Also, any plans on fixing the redux warning about the "pure" option being removed?

einarq avatar Sep 02 '22 09:09 einarq

https://github.com/atlassian/react-beautiful-dnd/releases

Latest patch should have it 😄.

Sorry no plans there, I've been helping with this lib in a personal capacity at the moment.

danieldelcore avatar Sep 10 '22 03:09 danieldelcore