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?
See Question&Answers more detail:os