DEV Community

Discussion on: Frameworks without a Framework: The next (big) thing

Collapse
 
dexter profile image
Dexter

Cool stuff! But aren't you forgetting that the generated javascript can be imported and reused? That's very handy when making components.
How do you make reusable components in your approach?

Collapse
 
siddharthshyniben profile image
Siddharth

I didn't forget that - it's just that I haven't tested that too much.

As to how to make a reusable commitment component: since sleek also generates HTML, the only viable current way is to manually copy/paste that into a component. I'm still figuring out a way to compile to a web component or otherwise reusable manner.