News for hackers. Stuff that matters.
Re:VanJS: A 0.9KB JavaScript UI framework by simonw on Wednesday December 20, 2023 @03:46PM (#38713431)
If you're worried about an extra network round-trip, <1KB is small enough that you could inline the entire framework into the <head> section of your document.
Re:VanJS: A 0.9KB JavaScript UI framework by bgirard on Thursday December 21, 2023 @04:40PM (#38727384)
Frameworks need product code.
Re:VanJS: A 0.9KB JavaScript UI framework by flying-pig on Thursday December 21, 2023 @05:53PM (#38728240)
With bundler like esbuild, all JS code, including 3rd party libraries can be bundled into a single file. You don't need an extra round trip for a library.