best practices/examples to use httpClient with unstable_cache
unstable_cache from next/cache. A working example:
In the component i can then use it with
const bikeModel = await getCachedBikeModel(bikeModelId)This works as expected, but it's a lot of boilerplate to manually create wrappers. Is there any example/guide how I can automatically generate these from the api?
