This repository was archived by the owner on Mar 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 4134132. either use ` next-redux-wrapper` package (` npm i -P next-redux-wrapper` ) or copy the ` withRedux.tsx` from the example setup ` src/utils/redux`
4144143. 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
You can’t perform that action at this time.
0 commit comments