Skip to content

Commit

Permalink
chore(react): update docs link shadow-dom example (dequelabs#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidious authored Mar 14, 2022
1 parent ec497c1 commit 8307094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (process.env.NODE_ENV !== 'production') {
}
```

Be sure to only run the module in your development environment (as shown in the code above) or else your application will use more resources than necessary when in production. You can use [envify](https://www.npmjs.com/package/envify) to do this as is shown in the [example](./examples/shadow-dom/package.json#L37).
Be sure to only run the module in your development environment (as shown in the code above) or else your application will use more resources than necessary when in production. You can use [envify](https://www.npmjs.com/package/envify) to do this as is shown in the [example](https://github.com/dequelabs/axe-core-npm/blob/develop/packages/react/examples/shadow-dom/package.json#L37).

Once initialized, the module will output accessibility defect information to the Chrome Devtools console every time a component updates.

Expand Down

0 comments on commit 8307094

Please sign in to comment.