News for hackers. Stuff that matters.
Re:Web Components Eliminate JavaScript Framework Lock-In by chatmasta on Monday November 27, 2023 @01:46PM (#38436386)
Multiplexing requests doesn't help when there is a logical dependency between them, e.g. some javascript code needs to download and then execute just to determine what template files it needs to subsequently download. That can't be parallelized.
Re:Web Components Eliminate JavaScript Framework Lock-In by nostrademons on Monday November 27, 2023 @03:58PM (#38438179)
If you're in a position where you could've written the template inline in your source file, this is a static dependency, independent of any page content, and can be handled through build systems and prefetching.