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
Describe the solution you'd like
As a JavaScript developer, I'd usually need to compose content (grab data from a provider) and return static HTML to clients (aka. Server Side Rendering). In order to accomplish this, JavaScript's engines expose a Response() class, part of fetch Web API.
It'd be great if the following example just works with Slight:
Describe the solution you'd like
As a JavaScript developer, I'd usually need to compose content (grab data from a provider) and return static HTML to clients (aka. Server Side Rendering). In order to accomplish this, JavaScript's engines expose a
Response()
class, part offetch
Web API.It'd be great if the following example just works with Slight:
See specs: https://fetch.spec.whatwg.org/#response-class
Additional context
I'd also recommend considering exposing Request and Headers, also part of the
fetch
Web API.cc @devigned @squillace
The text was updated successfully, but these errors were encountered: