eui
eui copied to clipboard
Drag and drop - use new fork
Hello!
react-beautiful-dnd is no longer being maintained by Atlassian per their readme. It currently doesn't support React 18 and strict mode.
Another developer and myself created a fork @hello-pangea/dnd which improves a few things:
- React 18 support
- React strict mode support
- React redux 8 support
- Converted entire codebase and tests to typescript
- Run test suite with React 16, 17, and 18
@hello-pangea/dnd is a drop-in replacement for react-beautiful-dnd and should require no changes to support aside from renamed imports.
Would Elastic be open to a PR migrating to @hello-pangea/dnd?
Thanks for the note, @Xhale1. I hadn't seen that RBD had gone into maintenance mode. We'll need to evaluate the correct direction for EUI in conjunction with an upgrade to React 18.
I'll add this to our meta issue tracking required changes: #6182
@thompsongl sounds good. We've received some very positive feedback about migrating to the new fork so I don't anticipate it will be a significant engineering challenge. Naturally there's more than engineering to consider.
Let me know if there's anything myself or other maintainers can help with 👍
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.
Re-opening as still valid / related to React 18
This upgrade has happened as part of our React 18 feature branch (which is still not yet available in main / as a release, but will be once the feature branch is deemed ready to go - hopefully in the next month or so here). See https://github.com/elastic/eui/pull/6868
Thanks so much again @Xhale1 for your amazing work with the fork! The upgrade was flawless and cleaned up a bunch of our tests. ❤️ Y'all are amazing!