Skip to content

Not compatible with rescript-react version 0.11 #33

@FilipKittnar

Description

@FilipKittnar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions