I've been building a web UI library for a side project of mine. I thought it might be useful to others, so I'm releasing it as open source.
To put it simply, I realized that most of my pain points with React come from its declarative model ui=f(state). So I'm trying something that I'm calling "imperative JSX." Instead of treating JSX as the source of truth for your UI, it essentially becomes a query interface for DOM manipulation.
I first had the idea for it a few months ago, and only began writing it in earnest last week, so it's extremely early and nowhere near production-ready. Still, I'd appreciate feedback on it (positive and negative)!
The side project I'm working on is called Matry, so the library is currently called @matry/dom. I'm slowly building up a list of examples of it in action at this repo: https://github.com/matry/dom-recipes
Cheers!
Comments URL: https://news.ycombinator.com/item?id=40889951
Points: 6
# Comments: 0
Autentifică-te pentru a adăuga comentarii
Alte posturi din acest grup
Article URL: https://arxiv.org/abs/2501.04682
Comments URL: https://news.ycombinator.c
Article URL: https://aeon.co/essays/there-are-no-pure-cultures-we-have-always-been-global
Comments
Article URL: https://github.com/pipelight/boulette
Comments URL: https://news.yco
Article URL: https://brooker.co.za/blog/2024/04/17/formal
Comments URL: ht
Article URL: https://timedilationformula.com/
Comments URL: https://news.ycombinator.c
Article URL: https://www.yankodesign.com/2025/01/08/this-game-c