Plugin Templates
Copy-pastable example snippets for accelerating plugin development
Method of a component
const render = (args, callback, instance) => (
<>
{ callback.apply(instance, args) }
</>
);
export default {
'Component/NAME/Component': {
'member-function': {
render
}
}
};Container functions
Prop types
Default props
More state
Adding a Reducer to the Redux Store
Query fields
Reducer Initial State
mapStateToProps
mapDispatchToProps
Adding a Route to the Router
Extending maps
Last updated