News for hackers. Stuff that matters.
Re:Nue: A React/Vue/Vite/Astro Alternative by shrimpx on Friday September 15, 2023 @05:33AM (#37520501)
Separation also has drawbacks. You have to go to open a different file and search for things by ID or class name. It’s like aspect oriented programming.
Re:Nue: A React/Vue/Vite/Astro Alternative by niutech on Friday September 15, 2023 @05:41AM (#37520563)
In almost every IDE you can open two files in a split view and you can ctrl-click on an ID to go to the definition.
Re:Nue: A React/Vue/Vite/Astro Alternative by Kiro on Friday September 15, 2023 @06:12AM (#37520800)
That's not good enough. I want to look at a tag and immediately see how it's styled. No cascading or hidden/indirect styling. It should be all there, completely isolated from the rest. In fact, I should be able to copy/paste just the HTML (or component) into a completely different application and it should remain exactly the same.