Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update why-rtk-is-redux-today.md #4719

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

muyangren918
Copy link
Contributor


name: 📖 New/Updated Documentation Content
about: Updating legacy hand-written Redux usage sample to make it match Redux Toolkit version when dealing with id in todoToggled function

PR Type

Updated an existing page

Checklist

  • Is there an existing issue for this PR?
    Yes, issue link: issues/4718
  • Have the files been linted and formatted?
    Yes

What docs page is being added or updated?

For Updating Existing Content

What updates should be made to the page?

  • Remove the curly braces in todoToggled function
  • Change action.payload.id to action.payload in todosReducer function

Do these updates change any of the assumptions or target audience? If so, how do they change?

No

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

netlify bot commented Jul 18, 2024

Deploy Preview for redux-docs ready!

Name Link
🔨 Latest commit 5df080c
🔍 Latest deploy log https://app.netlify.com/sites/redux-docs/deploys/66992de873d63e00083b4a04
😎 Deploy Preview https://deploy-preview-4719--redux-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@timdorr
Copy link
Member

timdorr commented Jul 18, 2024

Thanks!

@timdorr timdorr merged commit 8ea9d52 into reduxjs:master Jul 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants