Redux-Query(RTK-query) with supabase
Hi there, I am having confusion about how to use RTK-query with supabase in NEXTJS with the freedom to use getServerSideProps as well. I am thinking of using fakeBaseQuery as baseQuery in my slice and define async queries and use those exported hooks inside getServerSideProps() wherever needed but i am not sure that i can use hooks inside getServerSideProps().
It'd really awesome if someone could tell me what would be the better approach or point me to some direction. Thanks
It'd really awesome if someone could tell me what would be the better approach or point me to some direction. Thanks