lazarv / react-server

The easiest way to build React apps with server-side rendering
https://react-server.dev
MIT License
121 stars 6 forks source link

fix: use cache in a function with params #66

Closed lazarv closed 4 weeks ago

lazarv commented 4 weeks ago

Fixes "use cache" when using the directive in a function with params where the param should be included in the cache key. Changes in-memory cache implementation to use deep-eql for deep equality check on the cache key segments.