Skip to content

Instantly share code, notes, and snippets.

@otang
Created October 7, 2016 21:08
Show Gist options
  • Save otang/5aba45c11ff379cef0d23d93f7929a6e to your computer and use it in GitHub Desktop.
Save otang/5aba45c11ff379cef0d23d93f7929a6e to your computer and use it in GitHub Desktop.
show: function (req, res) {
// any negative consequences of doing this vs waiting for the request to complete and then rendering the view?
request('http://www.google.com');
res.view({
title: `Hello world`,
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment