Javascript – How to seal a Vue component? (aka how to deal with props passed by pointer)
I realized that my props passed to a component, and changed in the component, may bubble up. This is mentioned in the documentation. When objects and arrays are passed as props, while the child component cannot mutate the prop binding,…