fundera-redux-snippets

Fundera Redux snippets

fundera

49

1

1.1.0

MIT

GitHub

#Fundera Redux Snippets

Usage

export const $1 = "$1";
function $2($3) {
	return { type: $1, $3 };
}
export function $1() {
	return function (dispatch) {
	    ApiUtil.$2()
        .then( (res) => {
	        dispatch($3(res);
         });
    };
}
function $1 ( state = [], action ) {
	switch(action.type) {

    default:
	    return state;
    }
}
 case types.$1:
	 return ;
 on$1={ $2 => dispatch(actions.$3.$1($2)}