clauderic / clauderic/dnd-kit

Add "use client" to DragDropProvider for React 19 compatibility in @dnd-kit/react

Open Beginner friendly
#1,654 5 comments 0 reactions 0 assignees View on GitHub
bug experimental react triage:done
Dominant language
TypeScript
Stars
17.6k
Forks
924
Avg merge
2d 10h
Merged PRs (30d)
2

Description

You have to add `"use client";` at the top of the file, to allow us to use this Component in a server component

Contributor guide

Open the contributing guide

Research direction

Locate the DragDropProvider implementation in the @dnd-kit/react package and inspect its module header. Confirm the component is intended for use from a server component, then verify the package's relevant tests or build checks pass with the client directive present.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.