apibara / starknet-react

A collection of React providers and hooks for StarkNet
https://starknet-react.com
MIT License
369 stars 147 forks source link

Make `starknet-react` hooks work with server side components #235

Closed Pet3ris closed 1 year ago

oboutarf commented 1 year ago

Hello @Pet3ris, i would like to be assigned on this issue!

fracek commented 1 year ago

After thinking about this for a while, I believe Starknet React will not support server components by design. For server components, developers should use starknet.js directly.

With Starknet React v2, we now share almost everything with starknet.js so it should be relatively easy to mix the 2 in a dapp.