-
-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw error when attempting to redefine ReactOnRails global
Webpack configuration could attempt to import react-on-rails multiple times in each runtime chunk, leading to the global ReactOnRails variable being overridden and client rendering crashes. This should be avoided by relying on a single runtime chunk. Read more at #1558.
- Loading branch information
1 parent
7c366b6
commit 312593b
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters