Remix.run Logo
deepsun 4 hours ago

> Place the HTML where it belongs

Well, some drawbacks are not accounted for when replacing HTML parts: input elements lose focus, if some view was scrolled, then it gets unscrolled, jumping under user's pointer etc.

sudodevnull 2 hours ago | parent | next [-]

things like datastar handle this automatically for you

cmoski 3 hours ago | parent | prev [-]

I don't recall encountering these issues. What framework was that on?

deepsun 2 hours ago | parent [-]

Any framework, if you _replace_ DOM elements, not just modify their attributes.