Skip to content

Drag and drop - use new fork #6187

Closed
Closed

Description

@Xhale1

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?

Activity

  1. thompsongl commented on Aug 29, 2022

    @thompsongl
    Contributor

    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

  2. Xhale1 commented on Aug 29, 2022

    @Xhale1
    Author

    @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 👍

  3. github-actions commented on Feb 25, 2023

    @github-actions

    👋 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.

  4. added
    stale-issue
    on Feb 25, 2023
  5. github-actions commented on Mar 5, 2023

    @github-actions

    ❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

  6. added
    stale-issue-closed
    on Mar 5, 2023
  7. removed
    stale-issue
    stale-issue-closed
    on Mar 6, 2023
  8. cee-chen commented on Mar 6, 2023

    @cee-chen
    Contributor

    Re-opening as still valid / related to React 18

  9. added
    dependencies
    and removed on Apr 24, 2023
  10. self-assigned this
    on Jun 22, 2023
  11. cee-chen commented on Jul 3, 2023

    @cee-chen
    Contributor

    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 #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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependencies

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions