You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Datepicker component adds event listeners in componentDidMount but removes them in componentDidUpdate instead of componentDidUnmount. This is incorrect and in some cases causes the error "Error: Unable to find node on an unmounted component"
Expected behavior
Datepicker should removed event listeners in componentWillUnmount instead of componentDidUpdate.
Additional context
This issue came up in project "Regie Kinderopvang" by Aptus.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Datepicker component adds event listeners in componentDidMount but removes them in componentDidUpdate instead of componentDidUnmount. This is incorrect and in some cases causes the error "Error: Unable to find node on an unmounted component"
Expected behavior
Datepicker should removed event listeners in componentWillUnmount instead of componentDidUpdate.
Additional context
This issue came up in project "Regie Kinderopvang" by Aptus.
The text was updated successfully, but these errors were encountered: