brew install node
npm install -g ethereumjs-testrpc
package.json:
{
import React, { Component } from 'react'; | |
import { View, StyleSheet, ScrollView, Dimensions } from 'react-native'; | |
const { width } = Dimensions.get('window'); | |
export default class App extends Component { | |
componentDidMount() { | |
setTimeout(() => {this.scrollView.scrollTo({x: -30}) }, 100) // scroll view initial position fix | |
} |
master
:git branch | grep -v “master” | xargs git branch -D
origin
) branches except for master
and HEAD
:git branch -r | grep origin/ | grep -v 'master$' | grep -v HEAD| cut -d/ -f2 | while read line; do git push origin :$line; done;
Streams are a way to get data from one place in our app to another. | |
*** DART FUNCTION PARAMS *** | |
void test1({ int one, String two: 'default' }) { | |
print(one); | |
print(two); | |
} | |
void test2(int main, { int one }) { |
CURRENT CACHING LAYER
magnetFetch (src/lib/magnetFetch/magnetFetch.js)
Data is cached when the request is a GET
and when any max-age
is provided.
max-age == 0
it means that the response is valid for offline mode,First announced in 2018, the React Native re-architecture is a massive effort Facebook has been undertaking to address some of the long-standing issues1.
"What do you dislike about React Native?" / "What do you dislike about React Native?" (June 2019 Edition)