Skip to content

Commit

Permalink
docs: be explicit about react native import order (#518)
Browse files Browse the repository at this point in the history
Fixes #514
  • Loading branch information
ctavan committed Sep 12, 2020
1 parent 538b1a1 commit ac1b3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -408,7 +408,7 @@ This error occurs in environments where the standard [`crypto.getRandomValues()`
### React Native

1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme)
1. Import it before `uuid`:
1. Import it _before_ `uuid`. Since `uuid` might also appear as a transitive dependency of some other imports it's safest to just import `react-native-get-random-values` as the very first thing in your entry point:

```javascript
import 'react-native-get-random-values';
Expand Down
2 changes: 1 addition & 1 deletion README_js.md
Expand Up @@ -414,7 +414,7 @@ This error occurs in environments where the standard [`crypto.getRandomValues()`
### React Native

1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme)
1. Import it before `uuid`:
1. Import it _before_ `uuid`. Since `uuid` might also appear as a transitive dependency of some other imports it's safest to just import `react-native-get-random-values` as the very first thing in your entry point:

```javascript
import 'react-native-get-random-values';
Expand Down

0 comments on commit ac1b3af

Please sign in to comment.