You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default serializer uses `JSON.stringify` which will serialize functions as `null`. This means that if you are passing any functions as arguments you will get the same output regardless of whether you pass in different functions or indeed no function at all. The cache key generated will always be the same. To get around this you can give each function a unique ID and use that.
138
+
The default serializer uses `JSON.stringify` which will serialize functions as
139
+
`null`. This means that if you are passing any functions as arguments you will
140
+
get the same output regardless of whether you pass in different functions or
141
+
indeed no function at all. The cache key generated will always be the same. To
142
+
get around this you can give each function a unique ID and use that.
0 commit comments