You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 19, 2023. It is now read-only.
fwiw, this is the best dx in my eyes. with this, we have the clear separation of where the data actually comes from. so there is no issue in whether we are fetching client-side or server-side.
This isn't possible because with the react-server export condition because you have to pass appRouter for rsc. We can't/don't want to import that on the client. So I think we'd have to go for transpiling if we wanted to do this.
Currently, we use
rsc.*
to fetch data on the server andtrpc.*
on the client.I wish this was the same object used so you didn't have to care if you're on the server or the client.
The text was updated successfully, but these errors were encountered: