foxpro 🐍
Explore posts from serversPolyfilling ecmascript features
Hey! Not experienced with polyfills, but now I'm trying to wrap my app into android webview and I want to support e.g. chrome 80+. And there are some things that not supported,
Object.hasOwn
What's the recommended way to add polyfills with default stack (Vite + solid.js)?
I tried adding core-js
with babel preset to solid otpions, but seems like Vite doesn't handle it right in dev-mode, as core-js is written with require
.1 replies
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.1 replies