Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/roweldeguzman/gatsby-redux


https://github.com/roweldeguzman/gatsby-redux

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# Redux

https://using-redux.gatsbyjs.org/

Gatsby example site that shows use of redux.

# Overview

To use redux in a Gatsby site you'll need to hook in to two of Gatsby's
extension points.

Once in `wrapRootElement` which runs during Gatsby's server rendering process,
and once in `wrapRootElement` which is part of Gatsby's browser APIs.

Check out [`./gatsby-ssr.js`](./gatsby-ssr.js) and
[`./gatsby-browser.js`](./gatsby-browser.js) to see how this is implemented in
this example.