Skip to content

Update Prop Mutation Docs to be more clear around mutation #1365

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

Merged
merged 2 commits into from
Dec 9, 2021
Merged

Update Prop Mutation Docs to be more clear around mutation #1365

merged 2 commits into from
Dec 9, 2021

Conversation

MarkTallentire
Copy link

Description of Problem

As noted in Issue 1362 #1362, there is a lack of clarity around mutating of objects and arrays being a bad practice.

Proposed Solution

Updated the docs to specifically warn against mutation of any prop in particular Arrays and Objects.

@NataliaTepluhina
Copy link
Member

@MarkTallentire thank you for adding the note! It looks great overall, I've added just a few little tweaks 👍🏻

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