v6 documentation very hard to follow
See original GitHub issueThanks for putting all this together, it helps a lot. However, upgrading from v5 to v6, I feel like the experience of using the library has gotten worse. And the documentation doesn’t help in this regard. Here are some comments for the current documentation:
- even tough v6 doesn’t pass
isServer
anymore, I find it in most of the examples - async actions are not awaited (https://github.com/kirill-konshin/next-redux-wrapper#async-actions)
- could use better examples for serialization and deserialization.
json-immutable
hasn’t been updated for 3 years and doesn’t have TS support. Forimmutable
when usingstate.toJS()
this meansstate
has to have thetoJS()
method, how can this be used for a very complex redux state? - Redux Persist example still uses initialState (https://github.com/kirill-konshin/next-redux-wrapper#usage-with-redux-persist)
- there is nothing mentioned about
getStaticPaths
- what’s the proper way of handling the
HYDRATE
action?- in this example it only handles
page
and checks if it ends with an ‘X’. - in this example every reducer is checked if they have initialData and deleted from action payload, does this mean I have to go through each reducer and check against their initialData?
- what are
CLIENT_SERVER
andCLIENT_ACTION
from here? - when using
combineReducers
, how should this action be handled? in a separate reducer or in each of the other reducers?
- in this example it only handles
Issue Analytics
- State:
- Created 3 years ago
- Reactions:12
- Comments:10 (10 by maintainers)
Top Results From Across the Web
update documentation] publish Polly v6.0.0 as strong-named ...
Dlls partially follow Major.0.0 version numbering only (even if the true version is Major.Minor.Patch). This reduces the burden on projects ...
Read more >Ultimate React Router v6 Guide
React Router is by far the most popular routing library in React and this article goes in depth on everything you need to...
Read more >Migrating to React Router v6: A complete guide
Migrate your React Router applications from v5 to v6 with this in-depth guide, including a review of additions and improvements from v5.
Read more >E3D-v6 Documentation
See E3D-v6 Assembly for the assembly instructions. ... Hardened steel nozzles are so hard that they can score and damage even glass print ......
Read more >React Router v6 - Remix
Note: Absolute paths still work in v6 to help make upgrading easier. You can even ignore relative paths altogether and keep using absolute...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
_app
.They still do await for the saga to end https://github.com/vercel/next.js/blob/canary/examples/with-redux-saga/pages/index.js#L23 but not on all pages. This is also an option, you just need to make sure that all pages (that need it) will actually do it. If you miss it on one of pages you’ll end up with inconsistent sate being sent to client. So waiting in _app is safer 😉 but it has own drawbacks.