News for hackers. Stuff that matters.
Re:Removing React.js from the codebase and adapting Htmx for... by christophilus on Monday July 27, 2026 @01:38PM (#49073026)
I haven’t used it with htmx, but DOM morphing seems like it’s probably a good solution to this.

https://v1.htmx.org/extensions/morphdom-swap/

Re:Removing React.js from the codebase and adapting Htmx for... by rubyfruit on Monday July 27, 2026 @02:39PM (#49073886)
https://github.com/patrick-steele-idem/morphdom/issues/261

This issue is reporting the same kind of thing - text selection is lost on re-render