• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

fundera-redux-snippets

Fundera Redux snippets
fundera
1.1.0 49
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

#Fundera Redux Snippets

Usage

  • create action ('rfact')
export const $1 = "$1";
function $2($3) {
return { type: $1, $3 };
}
  • create async action ('rfaact')
export function $1() {
return function (dispatch) {
    ApiUtil.$2()
        .then( (res) => {
        dispatch($3(res);
         });
    };
}
  • reducer ('rfred')
function $1 ( state = [], action ) {
switch(action.type) {
 
    default:
    return state;
    }
}
  • reducer action ('rfredact')
 case types.$1:
 return ;
  • dispatch action ('rfdact')
 on$1={ $2 => dispatch(actions.$3.$1($2)}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by