Comment by exiguus
8 days ago
Think a about the case, that you have a shop, and you need the stock to disable the add to cart button. You can do a API request for every page visit. Or, use something like ISR to revalidate stock on the server and rerender the page every 10min.
No comments yet
Contribute on Hacker News ↗