gaearon / gaearon/react-deep-force-update
Does not work with fragment as root
Open
- Dominant language
- JavaScript
- Stars
- 120
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
```
var root = ReactDOM.render();
deepForceUpdate(root); // does not update component B
```
Eyeing the code, the early return on https://github.com/gaearon/react-deep-force-update/blob/master/src/index.js#L84 should probably move to after the sibling loop to make this case work.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.