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

Fix outdated Immer import in "Immutable Data" #2719

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

ashc0
Copy link
Contributor

@ashc0 ashc0 commented Mar 1, 2024

Description of Problem

The "Immutable Data" section contains a code example that uses Immer to achieve data immutability. However, the code example uses the outdated Immer import method, import produce from "immer". The latest version of Immer recommends using the named import, import { produce } from "immer".

Proposed Solution

Additional Information

2694

Copy link

netlify bot commented Mar 1, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit ec1c611
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/65e16af9eb488e0008455c80
😎 Deploy Preview https://deploy-preview-2719--vuejs.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.

Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@NataliaTepluhina NataliaTepluhina merged commit 51223f0 into vuejs:main Mar 5, 2024
5 checks passed
David-Pena added a commit to David-Pena/vuejs-spanish-docs that referenced this pull request Oct 17, 2024
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