Gatsby: Gatsby plus Redux

Created on 7 Feb 2017  路  2Comments  路  Source: gatsbyjs/gatsby

@KyleAMathews how do i use Gatsby with Redux?

Most helpful comment

New browser API makes adding Redux easy. See the example code at https://github.com/gatsbyjs/gatsby/releases/tag/v0.12.34

All 2 comments

Gatsby is just React & Webpack w/ a static build. So for the most part, my answer is do things as you normally would.

One issue is setting up the special <Provider> component (http://redux.js.org/docs/basics/UsageWithReact.html#passing-the-store). To fix that, someone just needs to take up this (easy) PR idea and finish it: https://github.com/gatsbyjs/gatsby/pull/595#issuecomment-267657259

New browser API makes adding Redux easy. See the example code at https://github.com/gatsbyjs/gatsby/releases/tag/v0.12.34

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Oppenheimer1 picture Oppenheimer1  路  3Comments

theduke picture theduke  路  3Comments

KyleAMathews picture KyleAMathews  路  3Comments

ferMartz picture ferMartz  路  3Comments

ghost picture ghost  路  3Comments