Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

deviceId being mutated inside component #90

Open
ghost opened this issue Jan 21, 2022 · 0 comments
Open

deviceId being mutated inside component #90

ghost opened this issue Jan 21, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 21, 2022

Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "deviceId"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants