How to fix SWR to work correctly with initialData or fallbackData
Using the awesome SWR library can be frustrating when you need to hydrate some data from the server but still allow further API calls to fetch and render the correct set of data. I'll show you how to work around the initialData/fallbackData limitation.