Closed
Description
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:
- 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.
Metadata
Metadata
Assignees
Labels
No labels