React-big-calendar: componentWillMount & componentWillReceiveProps warning

Created on 18 Jan 2020  路  3Comments  路  Source: jquense/react-big-calendar

Do you want to request a _feature_ or report a _bug_?

I believe this is a bug.

What's the current behavior?

I get the following error for several components: BackgroundCells, Calendar, DayColumn, TimeGrid, TimeGutter.

Warning: componentWillMount has been renamed, and is not recommended for use.

as well as:

Warning: componentWillReceiveProps has been renamed, and is not recommended for use.

What's the expected behavior?

No errors.

I have tried updating the package but I believe it has not been updated to fix these warnings.

Most helpful comment

@KatiaPosPago @fetahokey I just fixed it on my machine and made a merge request to contribute to the calendar, so hopefully that goes in the next roll out for you guys =D

All 3 comments

@KatiaPosPago same here -_-'

@KatiaPosPago @fetahokey I just fixed it on my machine and made a merge request to contribute to the calendar, so hopefully that goes in the next roll out for you guys =D

@KatiaPosPago , i appreciate your support :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicolasriccardi picture nicolasriccardi  路  3Comments

crashspringfield picture crashspringfield  路  4Comments

zhming0 picture zhming0  路  3Comments

martinnov92 picture martinnov92  路  3Comments

manutenfruits picture manutenfruits  路  3Comments