Skip to content

Danwhy/learn-react-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-react-native

A collection of examples/guides to using React-Native.

Counter - React Native basics.
[Navigator] (https://github.com/Danwhy/learn-react-native/tree/master/navigator) - The basics of using the Navigator component.
[Panhandler] (https://github.com/Danwhy/learn-react-native/tree/master/panhandling) - The basics of gestures and the panResponder.
[Testing] (https://github.com/Danwhy/learn-react-native/tree/master/testing) - Setting up a runner to test your app.
[Swipe] (https://github.com/Danwhy/learn-react-native/tree/master/swipe) - Using panhandlers and animations to delete list items when you swipe them.
[Fetch] (https://github.com/Danwhy/learn-react-native/tree/master/fetch) - Examples of basic fetch GET and POST requests.

First, make sure you have at least version 6.3 of Xcode, and have installed iojs/node 4 and react native (npm install -g react-native-cli).
See https://facebook.github.io/react-native/docs/getting-started.html#content for more details.

To run these examples, clone the repo, open the .xcodeproj files in xcode, and press the 'run' button.
If this doesn't work for you, you may need to run npm install inside the example's directory to install react-native locally. Then run npm run start to start the react packager, and try the above again.

To run the tests in the testing directory, in Xcode press Cmd+U.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published