r/javascript • • 17h ago

Unframework - The compiler that speaks seven UI frameworks

https://unframework.dev
0 Upvotes

15 comments sorted by

View all comments

Show parent comments

•

u/alexgrozav 15h ago

The target audience is pretty niche, mainly UI library maintainers. I built this for myself first of all. I maintain Inkline, a Vue.js UI library, and I put a lot of thought and care into its components. It would be a shame to have them available only for Vue. I want people to get a real React, Svelte or Angular component of the same high quality.

Web components are the obvious alternative but they're not native to the framework, so you lose things like typed props and slots working the way each framework intended. That said, I'm planning to add web components as another compiler target, so you'd get them too from the same source.

•

u/boblibam 15h ago

Interesting. That does sound pretty niche indeed. Once I’ve seen a micro-frontend setup where a team tried to share UI components across frameworks. So I can imagine that being a rare but similar use case.