News for hackers. Stuff that matters.
Re:The Epic Stack by replwoacause on Friday May 12, 2023 @09:35AM (#35916034)
I don’t use frameworks like React or Vue because my apps are small and mostly just for me, so I wish there were component libraries out there like Chakra that didn’t require npm, yarn, or some other package manager to install, and then a framework to use. I just want to slap a CDN link in my HEAD tag of my vanilla HTML page and start using class names to create components. Ideally, these components would have behavior functionality as well so I don’t have to use another library like HTMX or Alpine.js to add it. It seems to me something like this _should_ be possible.
Re:The Epic Stack by jlarky2012 on Saturday May 13, 2023 @01:00PM (#35930270)
it is possible! I've been playing with Astro and shoelace library downloaded from CDN for a use case like that.
Re:The Epic Stack by jlarky2012 on Saturday May 13, 2023 @01:01PM (#35930286)
Re:The Epic Stack by replwoacause on Saturday May 13, 2023 @04:29PM (#35932384)
Super helpful, taking a look now to see how you worked with Astro and Shoelace. This is very encouraging…!
Re:The Epic Stack by replwoacause on Saturday May 13, 2023 @04:24PM (#35932342)
Shoelace looks great! Thanks for sharing it. Can't wait to give it a whirl.