DEV Community

Discussion on: Web3 Tutorial: build DApp with Web3-React and SWR

Collapse
 
t_p profile image
t_p

@yakul curious, would using wagmi lib suffice and replace the need for web3-react and SWR ? since wagmi hooks have cache and watch that allow to refetch data from the blockchain? Wondering since it seems using one library would be simpler. Have you tired wagmi and still prefer using the libs from the tutorial?

Collapse
 
yakult profile image
fangjun

using wagmi these days, the hooks are simpler.

I haven't used the cache of wagmi yet. Will take a look at this feature. Thank you.