componentWillReceiveProps doesn't run after mount, and is deprecated as well. Update state after both on componentDidMount and componentDidUpdate |
||
---|---|---|
.. | ||
structures | ||
views |
componentWillReceiveProps doesn't run after mount, and is deprecated as well. Update state after both on componentDidMount and componentDidUpdate |
||
---|---|---|
.. | ||
structures | ||
views |