fetchSync

The fetchSync hook makes API requests and is the recommended way to make simple fetch calls on the server and on the client. It's designed similar to the Web API's fetch, only in a way that supports Suspense.