How vue prevents reuse component caching

A component will be called by several different components. What if you want the data in the data to change when it is called by different components?

Feb.16,2022

each called component has its own data, that does not interfere with each other, otherwise why it is written as a component pattern is for reuse. Are you using it wrong? Post the code and have a look.

Menu