3 ms·
This makes a lot of sense to me. Still, I wonder if there is an additional advantage here in terms of being able to render results before the request is fully r
by sam0x17 7y ago
This makes a lot of sense to me. Still, I wonder if there is an additional advantage here in terms of being able to render results before the request is fully received -- is that even possible with AJAX?
- thehappypm 7y agoWith Ajax, definitely not, though I imagine some wizard will mention some mode where it can be done. Fundamentally, imagine if you started running code on partially downloaded JSON. Imagine an array of objects is partially downloaded, then the JSON is parsed, the code starts running, then suddenly more objects are added to the array later? That would be a runtime nightmare.