Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roweldeguzman/gatsby-redux
https://github.com/roweldeguzman/gatsby-redux
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/roweldeguzman/gatsby-redux
- Owner: roweldeguzman
- Created: 2019-06-24T02:08:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T00:54:38.000Z (over 5 years ago)
- Last Synced: 2023-09-30T05:51:46.428Z (over 1 year ago)
- Language: JavaScript
- Size: 149 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.