React-color: Update to React 16

Created on 29 Dec 2017  路  4Comments  路  Source: casesandberg/react-color

Are you planning to update to React 16?

Cheers!
And thx for this awesome library! :)

enhancement in progress

Most helpful comment

React 16.9.0 has been released! :) This will result in a warning regarding any components using the componentWillReceiveProps lifecycle methods. I figured this issue is essentially a follow up once @dsumer's question above is answered. Thanks.
![image](https://user-images.githubusercontent.com/44648194/62786752-401a4b00-ba91-11e9-8444-90ea9ff3c96f.png

Even if this project is not updated to use React 16, replacing this lifecycle method with either getDerivedStateFromProps or componentDidUpdate (whichever is appropriate) will at the least remove these warnings from the console.

All 4 comments

@dsumer are you experiencing the same issue as fixed in #466 ?

React 16.9.0 has been released! :) This will result in a warning regarding any components using the componentWillReceiveProps lifecycle methods. I figured this issue is essentially a follow up once @dsumer's question above is answered. Thanks.
![image](https://user-images.githubusercontent.com/44648194/62786752-401a4b00-ba91-11e9-8444-90ea9ff3c96f.png

Even if this project is not updated to use React 16, replacing this lifecycle method with either getDerivedStateFromProps or componentDidUpdate (whichever is appropriate) will at the least remove these warnings from the console.

need an update (

This was fixed with https://github.com/casesandberg/react-color/pull/662 and will be released shortly as [email protected]

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imsheng picture imsheng  路  6Comments

YashalShakti picture YashalShakti  路  3Comments

japgolly picture japgolly  路  5Comments

foreverpinetree picture foreverpinetree  路  3Comments

redguardtoo picture redguardtoo  路  4Comments