rescript-dnd icon indicating copy to clipboard operation
rescript-dnd copied to clipboard

Not compatible with rescript-react version 0.11

Open FilipKittnar opened this issue 2 years ago • 1 comments

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

FilipKittnar avatar Feb 07 '23 15:02 FilipKittnar

Thanks for the report! I will look into this in the upcoming weeks.

alex35mil avatar Feb 10 '23 10:02 alex35mil