Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide warning when data/watch/computed etc. conflicts with existing Vue object properties #10884
What problem does this feature solve?
I accidentally created a data attribute called
There were no warnings, but the attribute won't be updated by
Considering data/watch/computed etc. all ends up as properties of Vue object, it would be nice to have some warning or exception if there are conflicts.
What does the proposed API look like?