We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37994aa commit 58c9ad8Copy full SHA for 58c9ad8
spec/dummy/client/app/packs/server-bundle.js
@@ -2,6 +2,7 @@
2
import './../generated/server-bundle-generated.js'; // eslint-disable-line import/extensions
3
// Shows the mapping from the exported object to the name used by the server rendering.
4
import * as ReactOnRails from 'react-on-rails';
5
+globalThis.ReactOnRails = ReactOnRails;
6
// Example of server rendering with no React
7
import HelloString from '../non_react/HelloString';
8
0 commit comments