(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| function update(value) { | |
| return (dispatch) => new Promise((resolve) => setImmediate( | |
| () => { | |
| dispatch({ type: 'UPDATE', value }); | |
| resolve(); | |
| } | |
| )); | |
| } |
| import Exponent from 'exponent'; | |
| import React from 'react'; | |
| import { range } from 'lodash'; | |
| import { | |
| StyleSheet, | |
| Dimensions, | |
| ScrollView, | |
| Animated, | |
| Text, |
Content of the Gist is from a talk by Peggy Rayzis at Chain React 2017: Chain React 2017: Breaking Down Bridging in React Native by Peggy Rayzis
In order for a native code to talk to JS you would need a bridge.