diff --git a/README.md b/README.md index 8f26293..209d0bf 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,18 @@ > redux-saga HOC for [Next.js](https://github.com/zeit/next.js/) -:warning: This will work only with NextJS 6+ :warning: - ## Installation ```sh yarn add next-redux-saga ``` +> Note: If you are using Next.js 6+ you have to install `next-redux-saga` with +> +> ```js +> yarn add next-redux-saga@beta +> ``` + ## Getting Started Check out the official [Next.js example](https://github.com/zeit/next.js/tree/canary/examples/with-redux-saga) or clone this repository and run the local example. @@ -70,10 +74,10 @@ export default configureStore ```js import React from 'react' -import App, {Container} from 'next/app' import {Provider} from 'react-redux' +import App, {Container} from 'next/app' import withRedux from 'next-redux-wrapper' -import nextReduxSaga from 'next-redux-saga' +import withReduxSaga from 'next-redux-saga' import configureStore from './configure-store' class ExampleApp extends App {