Git Product home page Git Product logo

react-native-meteor-websocket-polyfill's Introduction

react-native-meteor-websocket-polyfill's People

Contributors

hharnisc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-meteor-websocket-polyfill's Issues

Establishing DDP connection

Hi, I have the Todos app running locally on port 3000, and my React Native app running simultaneously. When I call the ddpClient.subscribe('publicLists'), I am not seeing any instances when I use debugger in the browser console. Am I able to fetch the existing entries initially, without observing the add, delete, and update changes? Some more explanation on this would help a lot. Thank you.

Subscribing to "todos" doesn't work (but lists does)

Hi - I was trying your project out and I found that I was able to subscribe to publicLists/privateLists as in your example, but when I try to subscribe to "todos" and observe the todos collection, nothing happens.

I wonder if it's an issue with passing in a parameter?

I have forked and made an example here: https://github.com/garethdown44/react-native-meteor-websocket-polyfill.git

If you could let me know if it's a bug in your code, or something I am doing wrong I would really appreciate it.

Thanks

How to do CRUD operations on the subscription.

Hi,
This is the great work to glue both react-native and Meteor. And the example works smoothly.
Right now The react-native app can display the list reactively, once the list is CRUD by other web front-end. I am wondering how I can do this on the react-native app. Would you please give me a short example?

Thanks,
Chen

Error: Can't find variable: process

When i build the project, i get this error i'm not sure how to fix. But the app at the simulator stays at an eternal "Loading lists..." state. Any ideas?

This is the error at the xcode output:

2015-09-06 19:35:26.010 [info][tid:com.facebook.React.JavaScript] "Running application "todos" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF"
2015-09-06 19:35:26.144 [error][tid:com.facebook.React.JavaScript] "Error: Can't find variable: process
 stack: 
  _ensureQueued           index.ios.bundle:51347
  upsert                  index.ios.bundle:51365
  upsert                  index.ios.bundle:51128
  _message                index.ios.bundle:49290
  onmessage               index.ios.bundle:49189
  <unknown>               index.ios.bundle:11926
  applyWithGuard          index.ios.bundle:880
  emit                    index.ios.bundle:6791
  jsCall                  index.ios.bundle:7375
  _callFunction           index.ios.bundle:7641
  <unknown>               index.ios.bundle:7670
  <unknown>               index.ios.bundle:7664
  perform                 index.ios.bundle:6197
  batchedUpdates          index.ios.bundle:13917
  batchedUpdates          index.ios.bundle:4740
  <unknown>               index.ios.bundle:7663
  applyWithErrorReporter  index.ios.bundle:7410
  guardReturn             index.ios.bundle:7432
  processBatch            index.ios.bundle:7662
 URL: http://localhost:8081/index.ios.bundle
 line: 51347
 message: Can't find variable: process"

Use of Meteor front-end packages?

I'm assuming that since this package doesn't use the native Meteor ddp and minimongo packages just yet, we also won't be able to use any accounts- packages or any others that rely on DOM.

Is this correct? Are DOM polyfills the only thing blocking developers from using the client-side parts of Meteor's packages with react-native?

Edit react native code remotely

I am currently using Meteor, Famous, and phonegap, and the biggest advantage is being able to push updates to our app without going through the App Store approval process.

I am currently contemplating switching to react native. My question is if there is any way to edit react native code outside of the Xcode project, so you could essentially update the native app without going through the App Store?

Checking for connectivity / current user

How would one go about checking for connection status in this framework? In the ideal case, I would be looking for a Meteor-style reactive variable that says whether the DDP connection is currently open and working or not. I want to use it to automatically reconnect after the app is reopened the phone awakes from 'sleep mode'.

On a similar note, I would also want the same for finding out whether the user is logged in. Something like Meteor.user() ...

Would this be difficult? Tips are very welcome.

React migartion

Hi there,

sorry, I meant migration.
Is it really still neccessary for react native to add reactivity this way and not with mixins and getMeteorData() since the official support of react by MDG?

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.