rescript-dnd
rescript-dnd copied to clipboard
Not compatible with rescript-react version 0.11
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
Thanks for the report! I will look into this in the upcoming weeks.