Step by step tutorial Ethereum React and SWR
Source code for How to fetch and update data from Ethereum with React and SWR
Step by step tutorial how to use React and SWR with Ethereum
Have a look to https://github.com/aboutlo/ether-swr/ which is the result of my learning of doing this tutorial