Re:Nazca – New GUI for the Web
by DemocracyFTW on Wednesday November 03, 2021 @09:09AM
(#29094074)
Having them separate is not necessarily a good thing. Svelte for one collects all the HTML, JS and CSS that you need for a given component into a single file (that uses the original syntax for each language). You can still draw in code from external files, but otherwise your component is just 1 file to take care of. Components are largely isolated from each other so the `.foobar` class used in one component does not affect the `.foobar` used in another.
[ Parent
| on HN ]