Deprecated
This hook is deprecated in favor of useWixFetchWithAuth().
The useWixFetch()
hook returns a function used to call endpoints from the Wix REST API using the authentication details provided to the WixProvider. Only use this function if the functionality you're looking for doesn't yet exist in the JavaScript SDK.