clauderic / clauderic/react-sortable-hoc
TypeError: Cannot read properties of undefined (reading 'add')
Open
- 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.