Discussion

Show HN: Grains.js Library for Stateful HTML

I have created Grains.js which helps me manage states in HTML sections without bundling and building. This way I can handle classes, transitions, show/hide states much easier.

There are several directives like "g-on" to handle events.

It would be great to hear your feedback on this.

Library is at https://github.com/mk0y/grains.js.

2 points mk0y 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton