We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 029e87b commit 197f711Copy full SHA for 197f711
examples/one-page/scripts/one-page.js
@@ -40,8 +40,8 @@ const USE_LOCAL = false;
40
// Import Map
41
// ================================================================================================
42
const importUrl = (k, v, extra = '') => {
43
- // Pin react.
44
- if (k === 'react') {
+ // Pin react and react-dom
+ if (k === 'react' || k === 'react-dom') {
45
v = reactVersion;
46
}
47
0 commit comments