Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Commit d242e48

Browse files
committed
added code splitting
1 parent fde5b1c commit d242e48

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

readme.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -413,19 +413,6 @@
413413
2. either use `next-redux-wrapper` package (`npm i -P next-redux-wrapper`) or copy the `withRedux.tsx` from the example setup `src/utils/redux`
414414
3. create custom `makeStore` function, `_app.tsx` page and other redux setup as examples in `next-redux-wrapper` repo shows
415415
416-
## Deprecated
417-
**Go to different branches for different Project Setup**
418-
- `pwa-amp` -- with Amp, Redux-Saga, Emotion
419-
- `redux-saga` -- with Redux-Saga, Emotion
420-
- `redux-code-splitting` -- with Redux, Emotion
421-
- `emotion` -- with Emotion
422-
- `styled-jsx` -- with built-in Styled-JSX
423-
424-
This is an example project setup.
425-
Packages used for all branches:
426-
* NextJs
427-
* Typescript
428-
* Eslint, Prettier
429-
* Jest, Enzyme
430-
* Next-Offline
431-
* Next-Manifest
416+
#### [code splitting](https://manukyan.dev/posts/2019-04-15-code-splitting-for-redux-and-optional-redux-saga/)
417+
1. copy `configureStore.ts`, `DynamicStoreWrap.tsx` from the example setup `src/utils/redux`, and `objectAssign.ts` from `src/utils/common`
418+
2. change `src/_app.tsx` similar to the example setup

0 commit comments

Comments
 (0)