r/VibeCodeDevs • • 15d ago

I Vibecoded a JS Framework for Myself

Im was investigating an idea i had about JSX-like syntax for webcomponents after some experience with Lit. I am sharing this here because it might be interesting/educational.

Lit is a nice lightweight UI framework, but i didnt like that it was using class-based components. It can support React with a wrapper, buts React is fundamentally an abstraction away from the DOM.

Vue has a nice approach but i prefer working with the syntax that React uses. I find it more intuitive for debugging and deterministic rendering. I wondered if with webcomponents, i could create a UI framework that didnt need to be transpiled.

My intentions with this framework is to get to a reasonable level of stability, to then replace React on some of my existing projects. I made a start by creating some basic reusable ui components components to be built with the js framework. Aiming for something like Material UI.

I can then compound that slop into some basic UI demos:

IMPORTANT DISCLAIMER: Im clearly using AI, so lets get that out of the way, because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another ui framework", this is an investigation to see what is possible. Its unreviewed, unaudited and far from finished. Nobody else should be using this. This framework is intended for myself on my own projects. It is provided open-source for transpartency, testing and demo purposes. Feel free to reach out for clarity if you have any questions.

2 Upvotes

3 comments sorted by

•

u/endofthread-bot 15d ago

Hey u/Accurate-Screen8774, thanks for posting in r/VibeCodeDevs! Join our Discord: https://discord.gg/t7SD4ThKuE

• This community is designed to be open and creator‑friendly, with minimal restrictions on promotion and self‑promotion as long as you add value and don’t spam.
• Please follow the subreddit rules so we can keep things as relaxed and free as possible for everyone. • Please make sure you’ve read the subreddit rules in the sidebar before posting or commenting.
• For better feedback, include your tech stack, experience level, and what kind of help or feedback you’re looking for.
• Be respectful, constructive, and helpful to other members.

If your post was removed (either automatically or by a mod) and you believe it was a mistake, please contact the mod team. We will review it and, when appropriate, approve it within 24 hours.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] 15d ago

[deleted] — view deleted comment

1

u/Accurate-Screen8774 15d ago

i figured it would be like "building in public". if interesting to anyone, they can take a look. it's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.

2

u/mission_tiefsee 15d ago

absolutly fine. But in this day and age we will experience an explosion of new framewroks, apps and whatnot. So build tools for yourself is one of the best ways. Releasing them too. The biggest hurdle in the long run will be support. Thats why people chose the big frameworks. Because react will probably still around in a couple of years. Same for rails.

but go ahead and do cool things. this is an amazing time for all of us!