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
When there is a var named opera with value null in window before loading react then react app crashes.
Steps to reproduce:
Create a new app using create-react-app my-app
cd my-app && yarn start
Add one line (<script>window.opera=null</script>) just before closing body tag into file public/index.html
The app crashes here.
Couldn't reproduce on jsfiddle.net. I think because problem appears if we execute window.opera=null BEFORE loading react.
Expected behavior is to not crash.
React v16.2.0 and Google Chrome Version 63.0.3239.84 (Official Build) (64-bit).
Have no info about problematic behavior with previous versions of React.
The text was updated successfully, but these errors were encountered:
I want to report a bug.
When there is a var named opera with value null in window before loading react then react app crashes.
Steps to reproduce:
Couldn't reproduce on jsfiddle.net. I think because problem appears if we execute window.opera=null BEFORE loading react.
Expected behavior is to not crash.
React v16.2.0 and Google Chrome Version 63.0.3239.84 (Official Build) (64-bit).
Have no info about problematic behavior with previous versions of React.
The text was updated successfully, but these errors were encountered: