You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this module, you don't fetch your data from your API before the initial render; instead, this module uses a feature of HTTP/2 called "server push" to improve performance.
To use this module, you'll have to use Node's http2 module instead of the http module. Unfortunately, express.js isn't yet compatible with the http2 module, so you'll probably have to use another framework instead (such as Koa or Hapi).
Hey there,
below is my server.js file. Any idea how to use this package so i can fetch initial data from API and render it on server side ?
https://gist.github.com/Dzale/b8ae5171b31ac4b65ce96b8b24a05bb4
Best regards,
Nikola
The text was updated successfully, but these errors were encountered: