Editorial question94.6K views3,824 votes0 answers3,655 following
AI-generatedDoes StencilJS re-render a component when an @Prop object or array is mutated in place?
The goal is to determine whether StencilJS schedules a re-render when a parent mutates a nested property of an @Prop object or an element of an @Prop array without reassigning the prop to a new reference. Stencil distinguishes @Prop for parent-passed data from @State for component-owned mutable state, but the exact change-detection behavior for nested mutati