Svelte

Add serverFetch hook

#1465

Pull request

Merged
S
stalkerg
May 16, 2021, 1:38 PM

This PR base on and on all discussion for direct external API requests ( ) and headers manipulation from .

Basically, now we provide developers full control of how to retrieve data on the server-side and even UNIX sockets can be an option. The test implementation is a little tricky but looks like we have already a similar thing for handles large responses.

Thanks.

Info

Merged at Jun 28, 2021, 9:20 PM
Merged by Rich-Harris
Assignees None
Reviewers None
Labels feature / enhancement
Milestone None

Pro tip: You can prefix GitHub URLs of issues, PRs or discussions with svcl.dev/ to view them on this page! Also try it on a GitHub release ;)