react icon indicating copy to clipboard operation
react copied to clipboard

[DevTools] unstable_getCacheForType -> cache

Open sebmarkbage opened this issue 1 year ago • 2 comments

Let's use the official API signature here.

We still rely on unstable_useCacheRefresh though.

sebmarkbage avatar Sep 04 '24 14:09 sebmarkbage

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 2:33pm

vercel[bot] avatar Sep 04 '24 14:09 vercel[bot]

~It didn't actually work I think partially due to how we use refresh to seed the cache which is going away so that needs to be refactored.~

Oh it's because cache() is actually disabled in client components.

sebmarkbage avatar Sep 04 '24 14:09 sebmarkbage