7 ms·
> every application I’ve worked on is quite a bit bigger than the framework itself That's why most client-side routing libraries support lazy loading. You don'
by shooly 2mo ago
> every application I’ve worked on is quite a bit bigger than the framework itself
That's why most client-side routing libraries support lazy loading. You don't have to load the entire application at once, only the parts you need.
> So you need to download the app, maybe have that app perform some fetch requests
That's... completely unrelated to React, though? Parent comment claimed that React is slow and HTMX fast - does HTMX make fetches magically faster or what?
- Skinney 1mo ago> That's why most client-side routing libraries support lazy loading. Trading off total size with more network requests. > does HTMX make fetches magically faster or what? With backend rendering (htmx) you'd do all of that on the initial render, which would be faster than first fetching the app, then fetching the data, as you'd typically do in a single page app.