Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmealhouse committed May 12, 2018
1 parent a7858fb commit 1601521
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 1601521

Please sign in to comment.