f / f/delorean

componentWillUpdate prevState

Open
#71 3 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.