5 ms·
Interesting, but a lot heavier weight than the structural library that I built: http://intercoolerjs.org http://intercoolerjs.org. From the docs: In dynamic
by carsongross 11y ago
Interesting, but a lot heavier weight than the structural library that I built: http://intercoolerjs.org http://intercoolerjs.org. From the docs:
In dynamic navigation, only fragments are sent, using JSON as transport.
Why not HTML as a transport?
- kodablah 11y agoI don't think the added JSON.parse (which is very fast these days) is a "lot" heavier weight. Also, although I haven't looked, I would assume a more rigidly structured format like JSON for multiple fragments would be easier to programmatically reference different ones instead of parsing HTML or making some other assumptions about how the disparate fragments are delimited.