Updating rendered element in HMR?
I'm still working on stack routing and what I need is different transitions between different views.
The problem is: if I use rendered element inside
<For>
loop:
It never updates element if HMR occurs.
This is how I render components to elements:
Is it possible to handle HMR update and re-render elements? I kinda solved it by adding component
inside view
and rendering it in <For>
and then catching via <Ref>
and promise, but this solution adds complexity only for sake of HMR.0 Replies