Update Build.md

Make the shims example React 18 compatible.
This commit is contained in:
Bjørn Erik Pedersen
2024-06-27 11:26:17 +02:00
committed by GitHub
parent 7764005c31
commit 3fdd5819b5
+2 -2
View File
@@ -88,8 +88,8 @@ module.exports = window.ReactDOM;
With the above, these imports should work in both scenarios:
```js
import * as React from 'react'
import * as ReactDOM from 'react-dom';
import * as React from 'react';
import * as ReactDOM from 'react-dom/client';
```
target