clauderic / clauderic/react-sortable-hoc
Cannot read property 'removeChild' of null
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 959
- PR merge metrics
- No merged PRs in 30d
Description
### I used onMouseDown to delete items data, and I reported this error, unable to locate what the problem was.
```js
```
```js
onDelete(value: string) {
console.log(value, 'value')
let { items } = this.state;
items = items!.filter((item: string) => item !== value);
this.setState({ items }, () => {
this.props.onDelete && this.props.onDelete(items);
})
}
```

```js
Deleting will result in an error and a request will be sent. I don't know where the request originated and whether it can be blocked
```
### I need help Thank you
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.