frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I made a better DOM morphing algorithm

https://joel.drapper.me/p/morphlex/
31•joeldrapper•1w ago
At least I think it’s better, but also I could also be missing something obvious.

Comments

sillysaurusx•1h ago
I’m curious, what got you interested in solving this particular problem? I.e. what was your specific use case?

Most websites work fine with plain html. If you need something fancier, the world seems to have settled on using React.

I get that this is to let you render html on the backend and then stream it to the site so that JS can update the dom. But why? Genuine question; I’m not saying there’s no good reason.

nzoschke•54m ago
I’m doing agentic coding on a bunch of web apps and server side rendering HTML is so much easier than building APIs and React components.

Full page reloads are fine for most CRUD cases. Then layering DOM morphing can be even better UX almost for free

hatefulheart•5m ago
If you read the first 5 sentences of the article you’d see there are at least 3 popular front end libraries that do morphing. I think suggesting the world has settled on anything when it comes to technology is very silly.

*Edit fixed typo.

rtcode_io•1h ago
Can you see if you can support the input-to-output sync of the examples you see on https://rtcode.io ?

Does your library support the new state-preserving moveBefore method?

rtcode_io•1h ago
Sorry, I was excited to see something newer than diffHTML and asked questions before reading the full article! You do use moveBefore with lots of effort to match elements, which makes Morphlex a very interesting library to try!

I will test your library extensively and update you via GitHub in case of questions/issues!

Thank you for releasing Morphlex!

Uptrenda•31m ago
Is there a website where we can try this out on?

Our investigation into the suspicious pressure on Archive.today

https://adguard-dns.io/en/blog/archive-today-adguard-dns-block-demand.html
1060•immibis•12h ago•327 comments

Transgenerational Epigenetic Inheritance: the story of learned avoidance

https://elifesciences.org/articles/109427
86•nabla9•4h ago•51 comments

Boa: A standard-conforming embeddable JavaScript engine written in Rust

https://github.com/boa-dev/boa
118•maxloh•1w ago•47 comments

Archimedes – A Python toolkit for hardware engineering

https://pinetreelabs.github.io/archimedes/blog/2025/introduction.html
31•i_don_t_know•3h ago•5 comments

Linux on the Fujitsu Lifebook U729

https://borretti.me/article/linux-on-the-fujitsu-lifebook-u729
149•ibobev•7h ago•109 comments

JVM exceptions are weird: a decompiler perspective

https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/
41•birdculture•1w ago•3 comments

Things that aren't doing the thing

https://strangestloop.io/essays/things-that-arent-doing-the-thing
38•downboots•4h ago•18 comments

Show HN: Unflip – a puzzle game about XOR patterns of squares

https://unflipgame.com/
20•bogdanoff_2•4d ago•4 comments

Show HN: I made a better DOM morphing algorithm

https://joel.drapper.me/p/morphlex/
31•joeldrapper•1w ago•6 comments

The computer poetry of J. M. Coetzee's early programming career (2017)

https://sites.utexas.edu/ransomcentermagazine/2017/06/28/the-computer-poetry-of-j-m-coetzees-earl...
29•bluejay2•3h ago•7 comments

Weighting an average to minimize variance

https://www.johndcook.com/blog/2025/11/12/minimum-variance/
56•ibobev•7h ago•30 comments

Tim Cook could step down as Apple CEO 'as soon as next year

https://9to5mac.com/2025/11/14/tim-cook-step-down-as-apple-ceo-as-soon-as-next-year-report/
26•achow•1h ago•12 comments

TCP, the workhorse of the internet

https://cefboud.com/posts/tcp-deep-dive-internals/
258•signa11•16h ago•131 comments

Windhawk Windows classic theme mod for Windows 11

https://windhawk.net/mods/classic-theme-enable
163•znpy•5h ago•90 comments

Trellis AI (YC W24) Is Hiring: Streamline access to life-saving therapies

https://www.ycombinator.com/companies/trellis-ai/jobs/f4GWvH0-forward-deployed-engineer-full-time
1•macklinkachorn•5h ago

AMD continues to chip away at Intel's x86 market share

https://www.tomshardware.com/pc-components/cpus/amd-continues-to-chip-away-at-intels-x86-market-s...
41•speckx•2h ago•10 comments

Messing with scraper bots

https://herman.bearblog.dev/messing-with-bots/
177•HermanMartinus•15h ago•63 comments

One Handed Keyboard

https://github.com/htx-studio/One-Handed-Keyboard
150•doppp•12h ago•82 comments

The Nature of the Beast: Charles Le Brun's Human-Animal Hybrids (1806)

https://publicdomainreview.org/collection/le-brun-human-animal-hybrids/
40•Petiver•5d ago•7 comments

A new Google model is nearly perfect on automated handwriting recognition

https://generativehistory.substack.com/p/has-google-quietly-solved-two-of
475•scrlk•4d ago•271 comments

Strap Rail

https://www.construction-physics.com/p/strap-rail
34•juliangamble•1w ago•1 comments

History and use of the Estes AstroCam 110

https://www.dembrudders.com/history-and-use-of-the-estes-astrocam-110.html
50•mmmlinux•1w ago•9 comments

Caffeinated coffee consumption or abstinence to reduce atrial fibrillation

https://jamanetwork.com/journals/jama/fullarticle/2841253
54•stared•3h ago•25 comments

Unofficial Microsoft Teams client for Linux

https://github.com/IsmaelMartinez/teams-for-linux
259•basemi•1w ago•223 comments

FBI Director Waived Polygraph Security Screening for Three Senior Staff

https://www.propublica.org/article/fbi-kash-patel-dan-bongino-waived-polygraph
112•Jimmc414•4h ago•88 comments

Designing a Language (2017)

https://cs.lmu.edu/~ray/notes/languagedesignnotes/
159•veqq•16h ago•100 comments

Go's Sweet 16

https://go.dev/blog/16years
269•0xedb•1d ago•208 comments

SSL Configuration Generator

https://ssl-config.mozilla.org/
238•smartmic•1d ago•78 comments

AI World Clocks

https://clocks.brianmoore.com/
1280•waxpancake•1d ago•361 comments

An Antivenom Cocktail, Made by a Llama

https://www.asimov.press/p/broad-antivenom
15•surprisetalk•1w ago•1 comments