Melon

A gatsby/redux boilerplate.

Get this boilerplate

You’ll need to have Node 8.16.0 or Node 10.16.0 or later version on your local development machine .

If you've got that, great! Simply open a terminal and enter:

npx -p yo -p generator-sld -- yo sld:melon

Not the boilerplate for you? Click here to see my other boilerplates.

Redux Example

Find this component in src/components/ReduxExample.js

This is our count stored in redux:

This is our dispatch action:

countUp: () => dispatch({ type: "count" })

You can trigger it with this button: