Live data from Hacker News

Show HN: React Native Express – Learn React Native Through Interactive Examples

reactnativeexpress.com

21–30 of 54 posts

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#21

Small nit pick. Realm does not use the "underlying SQLite database" as listed here: http://www.reactnativeexpress.com/persistence . Realm is built from scratch as an append only database, see here: https://realm.io/products/realm-mobile-database/ and here: https://github.com/realm/realm-core .

How would you compare Realm vs Couchbase Mobile in terms of a syncing mobile store?

Maybe a more fair comparison is to IBM's CloudantSync[0] which is the managed service version of Couchbase compliant Cloudant.

[0] https://developer.ibm.com/clouddataservices/offline-first/

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#22

Small nit pick. Realm does not use the "underlying SQLite database" as listed here: http://www.reactnativeexpress.com/persistence . Realm is built from scratch as an append only database, see here: https://realm.io/products/realm-mobile-database/ and here: https://github.com/realm/realm-core .

How would you compare Realm vs Couchbase Mobile in terms of a syncing mobile store? Maybe a more fair comparison is to IBM's CloudantSync[0] which is the managed service version of Couchbase compliant Cloudant. [0] https://developer.ibm.com/clouddataservices/offline-first/

I honestly haven't tried Couchbase mobile or CloudantSync. I got a few questions about Couchbase when I was teaching my last class on RN, and I've been meaning to try it. It sounds powerful and popular.

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#23
Q: Should one get familiar/experienced with React[0][1] first before jumping into React Native dev?

Or is this tutorial sufficiently stand-alone without React (web) experience?

[0] http://survivejs.com/react/introduction/

[1] https://online.reacttraining.com/p/reactjsfundamentals

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#24

Q: Should one get familiar/experienced with React[0][1] first before jumping into React Native dev? Or is this tutorial sufficiently stand-alone without React (web) experience? [0] http://survivejs.com/react/introduction/ [1] https://online.reacttraining.com/p/reactjsfundamentals

I'd be interested in hearing from people who have learned through this site, but my aim is:

One should be able to learn React Native directly through this tutorial, without starting with React for web. The main prerequisite is ES5 JavaScript. The tutorial makes analogies to HTML/CSS/React and other web technologies, but these aren't crucial to understanding the material.

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#25

Q: Should one get familiar/experienced with React[0][1] first before jumping into React Native dev? Or is this tutorial sufficiently stand-alone without React (web) experience? [0] http://survivejs.com/react/introduction/ [1] https://online.reacttraining.com/p/reactjsfundamentals

As someone who dove headfirst into RN without JS/React experience (~5 years of iOS), you don't need to know any of that stuff beforehand.

I haven't gone through (or really looked in-depth) this tutorial, but I can say that the ES{x} features are pretty easy to grok once you've seen and written them a few times. Most of the syntax specifics are easy to pick up just by reading code. The biggest things I'd focus on for starting into RN is:

- React lifecycle (componentDidMount, willUnmount, shouldComponentUpdate, etc) - Add render counts into your debug builds so you know if components are re-rendering way more than they should (shouldComponentUpdate is your friend here).

Other than that, learn by building. Keep an open mind to frustrations since RN changes rapidly, and the documentation/examples/libraries online are not the most up-to-date.

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#26

Small nit pick. Realm does not use the "underlying SQLite database" as listed here: http://www.reactnativeexpress.com/persistence . Realm is built from scratch as an append only database, see here: https://realm.io/products/realm-mobile-database/ and here: https://github.com/realm/realm-core .

How would you compare Realm vs Couchbase Mobile in terms of a syncing mobile store? Maybe a more fair comparison is to IBM's CloudantSync[0] which is the managed service version of Couchbase compliant Cloudant. [0] https://developer.ibm.com/clouddataservices/offline-first/

Hod @ Couchbase. Couchbase Mobile has had sync for a long time. It's used in serious, large scale deployments. (Check out the video from Ryan Air if you want to see a really cool example of how they were able to improve their app with it.) Couchbase is a document oriented database storing JSON and blobs. (I'm not a Realm expert, so I won't attempt to compare sync solutions.)

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#27

This looks pretty useful! Question - is it possible to make a third-party keyboard in react native currently (the kind you download an install from the app store)?

I've built one. It worked nicely once loaded but I found it took too long to initialize when switching between keyboards so I ended up going purely native. For your use case this may not be an issue however.

any chance you open-sourced it ?

Re: Show HN: React Native Express – Learn React Native Through Interactive Examples

#29

Quick feedback: the first code example on http://www.reactnativeexpress.com/redux defines the action types in an object, but then never uses the definitions, instead just hard-coding strings. Would be good to fix.

Ah! Nice catch. Will fix.
Post reply on HN