Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Small Updates to React Native docs #1041

Merged
merged 1 commit into from
May 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion content/react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ import Meteor, { Mongo, withTracker } from 'meteor-react-native';
Next, you need to connect to your Meteor server. This should typically be at the start of your App.jsx.

````
Meteor.connect("wss://myapp.meteor.com");
Meteor.connect("wss://myapp.meteor.com/websocket");
````

**Note: If you are using Expo, please see [these instructions](https://github.com/TheRealNate/meteor-react-native#custom-storage-adapter) for an extra step when connecting to your Meteor server**


Define your collections:

````
Expand Down