Not compatible with rescript-react version 0.11
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react
- Domain
- frontend
Research direction
Reproduce the compilation failure in src/Dnd__DndManager.res around lines 1586-1602 using rescript-react 0.11. Read the linked ReScript React migration guidance and compare the Context.Provider usage with that version. Done means the project compiles successfully with rescript-react 0.11.
Written by the indexing model from the issue text.
Description
Compilation throws this error:
FAILED: src/Dnd__DndManager.cmj
We've found a bug for you!
/home/development/app/node_modules/rescript-dnd/src/Dnd__DndManager.res:1586:13-1602:7
1584 ┆
1585 ┆ <Context.Provider
1586 ┆ value={
1587 ┆ status: state.status,
. ┆ ...
1601 ┆ startDragging: collectEntries,
1602 ┆ }>
1603 ┆ children
1604 ┆ </Context.Provider>
The record field value can't be found.
If it's defined in another module or file, bring it into scope by:
- Prefixing it with said module name: TheModule.value
- Or specifying its type: let theValue: TheModule.theType = {value: VALUE}
For more info: https://rescript-lang.org/docs/react/latest/migrate-react
- Dominant language
- ReScript
- Stars
- 119
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shakacode/rescript-dnd
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
shakacode/rescript-dnd#18 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
shakacode/rescript-dnd#15 · 8 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Prevent immediate jump when draggable from the droppable above is landed to the droppable below Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in shakacode/rescript-dnd
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bvaughn/react-resizable-panels#751 · 1 comment ·
-
www.wiwo.de OpenN: AdGuard Browser Extension P3: Medium T: Annoyance
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AdguardTeam/AdguardFilters#242026 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100