Skip to content

Commit 00a8e20

Browse files
committed
chore(docs): update README about react-native polyfills
1 parent 15eca61 commit 00a8e20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ If you use tree shaking to reduce bundle size, using non-modular interface will
7171
<!-- Uncomment when numbers are available for gamma clients
7272
In our workshop code, a lambda with DynamoDBClient and a command takes ~18kB while DynamoDB takes ~26 kB ([details](https://github.com/aws-samples/aws-sdk-js-v3-workshop/blob/dc3ad778b04dfe3f8f277dca67162da79c937eca/Exercise1/backend/README.md#reduce-bundle-size-by-just-importing-dynamodb)) -->
7373

74+
If you are consuming modular AWS SDK for JavaScript on react-native environments, you will need
75+
to add and import following polyfills in your react-antive application:
76+
77+
- [react-native-get-random-values](https://www.npmjs.com/package/react-native-get-random-values)
78+
- [react-native-url-polyfill](https://www.npmjs.com/package/react-native-url-polyfill) <!-- Future support in #2138 --->
79+
7480
## New features
7581

7682
### Modularized packages

0 commit comments

Comments
 (0)