Skip to content

Commit c66136d

Browse files
committed
Update README.md
1 parent b6ed299 commit c66136d

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

packages/scan/README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ yarn add react-scan
4444
### CDN
4545

4646
```html
47-
<!-- Add this to the top of the head of your html file -->
47+
<!-- import this BEFORE any scripts -->
4848
<script src="https://unpkg.com/react-scan/dist/auto.global.js"></script>
4949
```
5050

@@ -272,15 +272,6 @@ function RootDocument({ children }) {
272272

273273
</details>
274274

275-
Add this script to your app:
276-
277-
```html
278-
<!-- import this BEFORE any scripts -->
279-
<script src="https://unpkg.com/react-scan/dist/auto.global.js"></script>
280-
```
281-
282-
If you want to install the Chrome extension, follow the guide [here](https://github.com/aidenybai/react-scan/blob/main/CHROME_EXTENSION_GUIDE.md), or React Native support, see [here](https://github.com/aidenybai/react-scan/pull/23).
283-
284275
### CLI
285276

286277
If you don't have a local version of the site or you want to test a React app remotely, you can use the CLI. This will spin up an isolated browser instance which you can interact or use React Scan with.
@@ -320,9 +311,11 @@ if (typeof window !== "undefined") {
320311

321312
### Chrome Extension
322313

314+
If you want to install the Chrome extension, follow the guide [here](https://github.com/aidenybai/react-scan/blob/main/CHROME_EXTENSION_GUIDE.md).
315+
323316
### React Native
324317

325-
> Looking for [React Native](https://github.com/aidenybai/react-scan/pull/23)?
318+
See [discussion](https://github.com/aidenybai/react-scan/pull/23)
326319

327320
## API Reference
328321

0 commit comments

Comments
 (0)