https://github.com/et1975/fable-reactnative-workshop
Code samples for the workshop
https://github.com/et1975/fable-reactnative-workshop
Last synced: 3 months ago
JSON representation
Code samples for the workshop
- Host: GitHub
- URL: https://github.com/et1975/fable-reactnative-workshop
- Owner: et1975
- Created: 2016-10-30T22:32:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-08T13:20:03.000Z (over 8 years ago)
- Last Synced: 2025-02-15T11:45:24.695Z (5 months ago)
- Language: F#
- Size: 67.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Before you begin:
Running Native samples requires react-native CLI and target platform SDK installation.
* ReactNative CLI: https://facebook.github.io/react-native/docs/getting-started.html
* Android: https://developer.android.com/studio/index.html#downloads (23.0.1 platform and build tools)
* iOS: https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_8/Xcode_8.xipThe samples do not have the native infrastructure checked in. Do not be alarmed, the `ios/` and `android/` subfolders can be provisioned by the react-native CLI or directly copied across the projects.
## Using the cli example:
> react-native init workshop> cp -r workshop/ios counter
or
> cp -r workshop/android counter
Important:
Make sure the package.json `id` matches the react-native's project name. This should match the `runnable` name you register in the __`.index.js` files.## Order of samples to do:
1) counter - basic app2) container - parent/child composition
3) storage - working with local storage
4) webrequest - calling a web api
5) subscription - feeding a timer into the state updates