f / f/delorean
componentWillUpdate prevState
Open
- Dominant language
- JavaScript
- Stars
- 749
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Due to react not deep cloning objects (https://github.com/facebook/react/issues/2914) and the way that Delorean passes entire stores into state this makes the prevState parameter of componentWillUpdate useless. The prevState is always the current state.
thoughts?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.