So when I coded out the frontend (and backend) I didn't realize that EVERY call uses up some infura bandwidth, and I ended up hitting the 100k free tier maximum from just myself hitting rinkeby testnet... 馃槄
We can definitely be smarter about having just a single "initial data" call to our smart contract that gives everything for a page (or perhaps "everything this user needs to use the app")
Other things to consider- use "localstorage" to save the state across browser refreshes
- preserve the state as users move between pages rather than making a new call for data each time (possibly integrate redux for this?)
So when I coded out the frontend (and backend) I didn't realize that EVERY call uses up some infura bandwidth, and I ended up hitting the 100k free tier maximum from just myself hitting rinkeby testnet... 馃槄
We can definitely be smarter about having just a single "initial data" call to our smart contract that gives everything for a page (or perhaps "everything this user needs to use the app")
Other things to consider- use "localstorage" to save the state across browser refreshes