[pull] master from reduxjs:master#311
Open
pull[bot] wants to merge 896 commits intostackriot:masterfrom
Open
Conversation
8074e0a to
38af98a
Compare
…es-link Update link for Redux Middleware Tutorial - Fix #4647
Co-authored-by: renguanghui <renguanghui@ztgame.com>
Co-authored-by: Ben Durrant <ben.j.durrant@gmail.com> Co-authored-by: Tim Dorr <timdorr@users.noreply.github.com>
Add `withTypes` to examples in docs
- This change was made because the CJS build of Vite's Node API is deprecated and will be removed in Vite 6.
Docs: Enhance and correct selector memoization example in Essentials Part 6
… api.util.updateQueryData) in Part 8 Essentials
…ryData docs: fix incorrect reference to api.util.updateCachedData (should be…
Correct the documentation for the `PostsList` component to use the type-safe `useAppDispatch` hook. The example previously used the untyped `useDispatch` hook from `react-redux`. The corrected version reflects the recommended approach for working with Redux Toolkit and TypeScript, which provides stronger type-checking and improved developer experience.
Use typed useDispatch in PostsList example
Fixes a grammatical error in the summary section of the Redux Toolkit tutorial. The phrase "what how the app looks" was corrected to "how the app looks" to improve clarity This ensures the documentation is grammatically correct and meets high professional standards.
docs(what-you-have-learned): Correct grammar
…in "Post Reaction Buttons" section (#4826)
Corrects an incomplete sentence structure in the "Redux Essentials, Part 7:RTK Query Basics" documentation page. The original sentence was missing the relative pronoun "that" or a suitable participle, making it grammatically incorrect and slightly confusing.
…de-block-highlights
Lost my domain name to some dodgy scam site, so just want to update this link to my newer site.
…on (#4809) * docs(GettingStarted): update and expand project setup templates section This change: - Adds instructions for Vite, CRA, Expo, and React Native templates. - Moves the Next.js `with-redux` example to a separate section as a community template. * Changed degit npm module with tiged for cloning the templates
The existing documentation implies that standard slices *only* export action creators and reducers. This can create confusion when users compare this with fuller implementations within the codebase, such as the `postsSlice.ts` example shown earlier in Part 6. That file demonstrates that robust slices require exporting additional items like async thunks, types, selectors, and listener middleware. This change updates the wording to clarify that the original statement refers to the *minimal* exports needed from `createSlice`, providing better and unambiguous context before contrasting with `createApi` exports.
Docs: Update 'Balance Selector Usage' section
Update testing guide
Remove redundant wording "adding" to resolve a tautology. The original sentence phrasing "adding resulting in" was grammatically incorrect. This update clarifies the logic flow where concurrent thunks trigger duplicate state updates, ensuring a smoother reading experience for developers learning async logic in Part 5.
docs(part-5): fix thunk logic grammatical error
The Part 6 tutorial code snippet contained a leftover <Redirect /> component from React Router v5. This change removes the legacy line to harmonize the documentation with the v6 logic used in the official CodeSandbox examples.
fixes typo
Update part-8-rtk-query-advanced.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )