Content
@
0 reply
0 recast
0 reaction
Vladyslav Dalechyn
@dalechyn.eth
played with fhub and nextjs and realized you can actually use it pretty easily if everything is wrapped with react server actions. there are few caveats though: - you can't use suspense queries. ssr disallows calling server actions in the initial render - only can be used in frameworks supporting rsc
1 reply
0 recast
4 reactions
Vladyslav Dalechyn
@dalechyn.eth
might fuck around and one shot a full react+rsc library to query hub from client side then useCastGetQuery(...) useReactionGetQuery(...) useFollowCreateMutation(...) will be compatible with nextjs, expo (experimental), waku
2 replies
0 recast
1 reaction
Vladyslav Dalechyn
@dalechyn.eth
might be ok as well as most of wagmi actions are not suspenseQuery-friendly – i think devs wouldn't be sad about it too much
0 reply
0 recast
1 reaction
Samuel ツ
@samuellhuber.eth
Have you checked @ effect/platform HTTPAPI which if done with it gives you a client lib to call it directly?
1 reply
0 recast
0 reaction