Redux Essentials documentation feedback #4079
Replies: 2 comments 3 replies
-
Yeah, there's several accumulated issues suggesting some tweaks for clarity along those lines: #4000, #4012 , reduxjs/redux-essentials-example-app#1 . Also, the async section really needs to be updated to show use of the "builder callback" syntax for I will likely try to update this tutorial after we've gotten RTK 1.6 with RTK Query out the door, because I'll need to add a new section that demonstrates using RTK Query after all the existing content.
And thank you! :) |
Beta Was this translation helpful? Give feedback.
-
RE: features/posts/EditPostForm.js Here is the code in section 6: https://imgur.com/a/ij19oeS In section 6 the EditPostForm route appears as if it was already added to the file in a previous step, to help newbies with improving their workflow, it could be added immediately after the component definition in section 4. Perhaps adding the route directly after wouldn't be a bad idea. I like how the tutorial teaches proper workflow in all the previous sections and it make sense to add the route after creating the component file. People would just have it coded before section 6 and not think where it came from. I suggest the following edit to section 4, which shouldn't take much time, but adds continuity to the work process: {Directly under the EditPostForm component definition in section 4 (Using Redux Data)} Like with SinglePostPage, we'll need to import it into App.js and add a route that will render this component.
We should also add a new link to our SinglePostPage that will route to EditPostPage, like: |
Beta Was this translation helpful? Give feedback.
-
Some of the best documentation I have ever read, engaging and useful for learning React generally speaking
https://redux.js.org/tutorials/essentials/part-5-async-logic
Async Logic and Data Fetching - In this section, there is a code refactor that occurs about 2/3 of the way through, that is no indicated by the "changed code" highlighted lines that I think should be. is extracted from the return to above the return if you jump ahead to the solution at the bottom. Instead, I think that refactor should be included on the step that introduces the PostExcerpt component. https://imgur.com/a/qnMmSAZ
Beta Was this translation helpful? Give feedback.
All reactions