News for hackers. Stuff that matters.
Re:Show HN: I made a better DOM morphing algorithm by dmix on Saturday November 15, 2025 @06:15PM (#45941363)
Both Elixir Phoenix and Ruby on Rails use plain HTML by default but they both support view morphing (phoenix via LiveView and rails via Hotwire Turbo). It really doesn't cost anything to add it. Clicking links with a bit of caching can make it feel near instant the way a (small) SPA does. Adding link prefetching algo on top of the that and it will seem even faster.

If anything it removes a ton of the argument for using React absent maybe a small subset of highly complex UI subcomponents which may need it, but rarely required for a whole SaaS app. Frontend teams just want React so they can use a single tool not because it's the best solution.

Re:Show HN: I made a better DOM morphing algorithm by joeldrapper on Wednesday November 19, 2025 @06:17AM (#45978240)
I enjoy writing mostly SSR apps with just a few specific Svelte components mounted as custom elements. It works really well.