well, first thing I should probably mention is even though it is called "stencil store" there is no "stencil / web components" inside.
as I said in another comment, if I would have to bet, I would say that my spontaneous understanding is that the store is using a proxy and that's why the change detection is noticing the modifications. But, I can't be totally uncorrect. If anyone want to give a better explanation, would like to hear it too.
I did check the source of stencil store before my first comment, and I found only stencil specific updates reacting on store changes. But being a proxy wouldn't trigger angular CD either. I'm still sure about my original statement, stencil store work only because the same reason a plain js object would.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"if you takes care of triggering" - how come does stencil take care?
well, first thing I should probably mention is even though it is called "stencil store" there is no "stencil / web components" inside.
as I said in another comment, if I would have to bet, I would say that my spontaneous understanding is that the store is using a proxy and that's why the change detection is noticing the modifications. But, I can't be totally uncorrect. If anyone want to give a better explanation, would like to hear it too.
I did check the source of stencil store before my first comment, and I found only stencil specific updates reacting on store changes. But being a proxy wouldn't trigger angular CD either. I'm still sure about my original statement, stencil store work only because the same reason a plain js object would.