I hereby claim:
- I am ahummel25 on github.
- I am andrewhummel (https://keybase.io/andrewhummel) on keybase.
- I have a public key ASD9p5XxcnW_8t2sggn1i3KzK_1LhyA_pP6lYJUmGszSYQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import React from "react"; | |
import{StyleSheet,View,ActivityIndicator,FlatList,Text,TouchableOpacity,Image} from "react-native"; | |
import { Icon } from "react-native-elements"; | |
import { enText } from "../lang/en"; | |
export default class Store extends React.Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
loading: false, |
import * as React from "react"; | |
import { render } from "react-dom"; | |
import produce from "immer"; | |
import { set, has } from "lodash"; | |
import "./styles.css"; | |
function enhancedReducer(state, updateArg) { | |
// check if the type of update argument is a callback function | |
if (updateArg.constructor === Function) { |