fjohanssondev / podcast-app

https://podcast-app-henna.vercel.app
0 stars 0 forks source link

Setup tanstack-query and wrap the application #17

Open fjohanssondev opened 1 year ago

fjohanssondev commented 1 year ago

Create a wrapper (client-component) that wraps our code. Somewhere in between the SessionProvider from next-auth

<SessionProvider client={session}>
<QueryProvider {...props}>
  {children}
</QueryProvider>
</Sessionprovider>

Tanstack Query will be used as our state management service when using our API.