The official documentation says that there could be a data
and a props
option in a component.
For me it seems a sort of excessive functionality.
Why do I need both properties and data in my component? Which goals they are aimed?
question from:https://stackoverflow.com/questions/35548434/component-data-vs-its-props-in-vuejs