🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

gatsby-plugin-react-redux

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-react-redux - npm Package Compare versions

Comparing version

to
1.0.10

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="1.0.10"></a>
# [1.0.10](https://github.com/le0nik/gatsby-plugin-react-redux/compare/v1.0.9...v1.0.10) (2019-06-26)
- Update dependencies
- Fix README
<a name="1.0.9"></a>
# [1.0.9](https://github.com/le0nik/gatsby-plugin-react-redux/compare/v1.0.8...v1.0.9) (2019-05-30)
- Remove `engines` field from package.json
<a name="1.0.8"></a>

@@ -7,0 +18,0 @@ # [1.0.8](https://github.com/le0nik/gatsby-plugin-react-redux/compare/v1.0.7...v1.0.8) (2019-05-12)

18

package.json
{
"name": "gatsby-plugin-react-redux",
"version": "1.0.9",
"version": "1.0.10",
"description": "Gatsby plugin for React-Redux with built-in server-side rendering support",

@@ -35,16 +35,16 @@ "keywords": [

"@babel/core": "^7.4.5",
"babel-eslint": "^10.0.1",
"babel-preset-gatsby-package": "^0.1.4",
"babel-eslint": "^10.0.2",
"babel-preset-gatsby-package": "^0.2.0",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-react-app": "^4.0.1",
"eslint-plugin-flowtype": "^3.9.1",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-flowtype": "^3.11.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^1.6.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"jest": "^24.8.0",
"prettier": "^1.17.1",
"prettier": "^1.18.2",
"react": "^16.8.6",

@@ -51,0 +51,0 @@ "react-redux": "^7.0.3"

@@ -13,2 +13,17 @@ # gatsby-plugin-react-redux

`./src/state/createStore.js` // same path you provided in gatsby-config
```javascript
import { createStore } from 'redux';
function reducer() {
//...
}
// preloadedState will be passed in by the plugin
export default preloadedState => {
return createStore(reducer, preloadedState);
};
```
`./gatsby-config.js`

@@ -21,3 +36,3 @@ ```javascript

options: {
// [required] - path to module you created in step 1
// [required] - path to your createStore module
pathToCreateStoreModule: './src/state/createStore',

@@ -38,18 +53,4 @@ // [optional] - options passed to `serialize-javascript`

`./src/state/createStore.js` // same path you provided in gatsby-config
```javascript
import { createStore } from 'redux';
function reducer() {
//...
}
// preloadedState will be passed to you by the plugin
export default preloadedState => {
return createStore(reducer, preloadedState);
};
```
## License
MIT