airbnb / hypernova

A service for server-side rendering your JavaScript views
MIT License
5.82k stars 212 forks source link

Lets render return a promise for doing async work #65

Closed goatslacker closed 7 years ago

goatslacker commented 7 years ago

This allows userland code to perform async actions and render the HTML some time in the future. This opens up the possibility for doing async rendering, data fetching prior to rendering, code splitting with routing, etc.

@ljharb @gdborton