Get the latest tech news

Progressive JSON


Why streaming isn't enough.

It’s just too hard to actually take advantage of it in the application logic which generally assumes the types are correct, “ready” means “complete”, and so on. As long as the client can deal with some parts being “not ready” (represented as Promises) and process the rest, this is an improvement! The data arrives as fast as it can in whatever order the server is ready to send it, but React takes care to present the loading sequence gracefully and let the developer control the visual reveal.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Progressive JSON

Progressive JSON