Replacing ‘componentWillReceiveProps’ with ‘getDerivedStateFromProps’2.9K13Amanshu KatariaMark TsaiFollowSep 2, 2018 · 1 min read[eslint] Do not use setState in componentDidUpdate So…I think it’s no a good idea.