JedWatson / JedWatson/react-select

docs(Sortable MultiSelect): replace react-sortable-hoc example by dnd-kit or another

Open
#5,159 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category/documentation
Dominant language
TypeScript
Stars
28k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

In docs (Advanced) in Sortable MultiSelect, your advising to use react-sortable-hoc:
https://github.com/JedWatson/react-select/blob/fe7dab371290b87c425d9036b66febcf4d1beead/docs/pages/advanced/index.tsx#L51

But it's no longer recommended, from the lib itself:
https://github.com/clauderic/react-sortable-hoc#%EF%B8%8F-important-notice-for-new-consumers

They suggest to look on dnd-kit side.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in docs/pages/advanced/index.tsx at the Sortable MultiSelect example, then read the linked react-sortable-hoc notice and dnd-kit reference. Replace the deprecated example with a supported alternative, and confirm the Advanced documentation no longer advises react-sortable-hoc.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation, frontend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.