clauderic / clauderic/react-sortable-hoc

TypeError: Cannot read properties of undefined (reading 'add')

Open
#862 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

Not sure why this error is coming up while using SortableElement. Here is the code snippet I am using

```
const DragHandle = SortableHandle(() => ::);
const DraggableContainer = SortableContainer(({ children }) => {
return

    {children}
;
});
const DraggableElement = SortableElement(({ value }) => (


  • {value}

  • ));
    ```

    and here is how I am using the above components in render

    ```
    render() {
    return (




    );
    }
    ```

    Contributor guide

    No contributing guide indexed for this repository

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.