I'm trying to understand the @Watch()
part of the Stencil lifecycle docs: https://stenciljs.com/docs/component-lifecycle
To me, the illustration above does not clearly show from when @Watch()
actually starts watching.
There seem to be cases where a @Watch()
hook is triggered even before componentWillLoad()
, for example when a Stencil component is used in React with React.createRef()
. These cases are not always reproducible - meaning that it could be a race condition.
That's why I'd like to know from what particular point in time @Watch()
becomes active?