Stencil @Prop() read-only input enforcement
Stencil @Prop() read-only input enforcement Stencil documents @Prop() as a read-only input supplied by the parent component. Internal mutable values belong in @State(), and reactions to prop changes belong in @Watch(). Direct assignment to a @Prop() inside the component class falls outside the documented update path, but the compiler does not appear to hard-