Lots of notable releases, community projects, and technical content were released in the DoneJS community last month! This post outlines some of the highlights from September 2017.
Subscribe
Get our best content on how to build better apps.
Subscribe
Get our best content on how to build better apps.
Got product development questions?
Join us on
Discord
How To Use NDJSON Streams with can-connect
In our previous post, we talked about how to improve an app’s performance and user experience by incrementally updating our app’s UI as we received a stream of data from our API. Our example app was built on the Fetch API and can-ndjson-stream to get a ReadableStream of NDJSON and render the stream in our app.
The Bitovi Team
Faster Page Loads: How to Use NDJSON to Stream API Responses
Ever wish you could send your data as a stream so that the client can start manipulating it and rendering it as it arrives? Tired of waiting for your entire JSON object to resolve before your users see anything interesting? As you may have seen in my previous article on David Walsh Blog, this is now possible with the Fetch API! Stream responses are supported in Chrome 52 and in development in Firefox and Edge. This quick tutorial will show you how to set up a simple Express API to emit a ReadableStream of NDJSON.
The Bitovi Team
Slimming Down Steal
The slim loader is a new minimal production loader for StealJS apps. You can think of slim as taking all of the useful features that StealJS provides and stripping them away to only what you actually use in your application. This means that your users don't download any code that you're not using, which improves the speed of your application.
The Bitovi Team