David Walsh

Results 2 comments of David Walsh

The new lifecycle method `getDerivedStateFromProps` is not a perfect replacement for `componentWillReceiveProps` as it does not provide access to `prevProps`.

Polluting `state` with previous props/state really sucks.