Skip to content

Commit 84ef487

Browse files
authored
Update README.md
1 parent 11e1fa5 commit 84ef487

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ Usage of `redux-react-session` with an immutable store is really simple.
137137
Instead of the `sessionReducer` import the `sessionImmutableReducer`, as the following example:
138138

139139
- Add the session reducer:
140-
141140
```javascript
142141
import { combineReducers } from 'redux';
143142
import { sessionImmutableReducer as session } from 'redux-react-session';
@@ -148,7 +147,6 @@ const reducers = {
148147
};
149148
const reducer = combineReducers(reducers);
150149
```
151-
152150
## Server Rendering
153151
`redux-react-session` also provides methods to keep the session with server rendering using cookies. So the session will work on the server side as well as the client side.
154152

@@ -176,7 +174,6 @@ app.use((req, res) => {
176174
}
177175
// ...
178176
```
179-
180177
### initSessionService(store, { driver: 'COOKIES' })
181178
Initialize an instance of the client session service, IMPORTANT to set the option 'COOKIES'(this is the way that the client send the session data to the server).
182179

0 commit comments

Comments
 (0)