diff --git a/README.md b/README.md index d48bc9eeb..f50250b3b 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,6 @@ If you'd like to use a standalone built file you can use the following script ta Using `contentful@latest` will always get you the latest version, but you can also specify a specific version number: ``` html - ``` @@ -91,14 +90,6 @@ This library also comes with a legacy version to support Internet Explorer 11 an To support legacy browsers in your application, use `contentful.legacy.min.js` instead of `contentful.browser.min.js` -### Other environments: - -Our SDK is supplied as node and browser version. Most non-node environments, like React Native, act like a browser. To force using of the browser version, you can require it via: - -``` -const { createClient } = require('contentful/dist/contentful.browser.min.js') -``` - ## Authentication To get content from Contentful, an app should authenticate with an OAuth bearer token. @@ -251,6 +242,9 @@ for more information about the search parameters check the [documentation](https - **Can I use the SDK in react native projects** - Yes it is possible +- **I get the error: Unable to resolve module `http`** + - Our SDK is supplied as node and browser version. Most non-node environments, like React Native, act like a browser. To force using of the browser version, you can require it via: `const { createClient } = require('contentful/dist/contentful.browser.min.js')` + - **Link resolution does not work when using `client.getEntry('')`** - Link resolution does not work with the single entity endpoint, you can use `client.getEntries({'sys.id': ''})` to link an entry with resolved links - **Can I use it with typescript?**