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
No React warnings should be logged from usage of intersection observer.
Current behavior
When an error is created inside intersection observer, the following warning is created by React:
react_devtools_backend.js:6 Warning: ErrorBoundary(IntersectionObserver): Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.
in ErrorBoundary(IntersectionObserver) (created by IntersectionObserver)
in IntersectionObserver (created by App)
// ...
Expected behavior
No React warnings should be logged from usage of intersection observer.
Current behavior
When an error is created inside intersection observer, the following warning is created by React:
The warning was added in React 16.6.0 (facebook/react#13746)
Steps to reproduce
You can use the code from #101 to create an example error. You will see the warning in the developer console when React runs in development mode.
Context (environment)
The text was updated successfully, but these errors were encountered: