jquense / react-big-calendar

gcal/outlook like calendar component
http://jquense.github.io/react-big-calendar/examples/index.html
MIT License
7.88k stars 2.23k forks source link

Console Warning with react strict mode #2417

Closed sambbaahh closed 1 year ago

sambbaahh commented 1 year ago

Check that this is really a bug

Reproduction link

https://codesandbox.io/embed/react-big-calendar-example-forked-zvpkpq?fontsize=14&hidenavigation=1&theme=dark

Bug description

Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Please update the following components: DayColumn

When I click Week/day, the error appears to console.

Is there anyway to fix this warning? Do I have to care about it?

Expected Behavior

No errors

Actual Behavior

No response

react-big-calendar version

1.8.1

React version

18.2.0

Platform/Target and Browser Versions

Windows, Chrome

Validations

Would you like to open a PR for this bug?

cutterbl commented 1 year ago

This has been reported several times in the past. We are aware of the console warning. This is a warning, from React, that the feature being used will be deprecated in a future version of React. That being said, it is a warning, and does not effect the current function of Big Calendar. The issue will be addressed in a future version of Big Calendar.