-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't Node DDP work? #1
Comments
Thanks @fardeemmunir! Was fun putting this together.
Websockets aren't available in React Native JS runtime (yet) However, there's been some great progress made to get the websocket Polyfill so it can be used directly. Once that's in place it will be pretty simple to get something like Node DDP working. I'd actually prefer Node DDP or Asteroid since they are more commonly used and are entirely JS. |
I'll spin up a new repo once the Polyfill is ready with a similar project. It will be interesting to see if there are any performance differences, and I'm anticipating less code. |
Would you recommend using react native and meteor using your approach right now for a production app? |
It's a decent solution, but I would recommend waiting. I've generated a PR for the Websocket Polyfill for React Native today - facebook/react-native#890 |
Hey @fardeemmunir I've got a working example using the WebSocket polyfill which has parity with this project. https://github.com/hharnisc/react-native-meteor-websocket-polyfill |
First of work, nice work.
Second, I was wondering if I could use the Node DDP client since react native allows npm modules. Is there are a problem using the Node client or is ObjectiveDDP a personal choice?
The text was updated successfully, but these errors were encountered: