next.js
Generate stable `"use cache"` cache key for promise arguments
#77244
Open
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
18
Changes
View On
GitHub
Generate stable `"use cache"` cache key for promise arguments
#77244
unstubbable
wants to merge 18 commits into
canary
from
hl/use-cache-promise-args-cache-key
ijjk
added
created-by: Next.js team
ijjk
added
tests
ijjk
added
type: next
lubieowoce
commented on 2025-03-18
unstubbable
force pushed
from
e14bdef6
to
4ce12073
1 year ago
unstubbable
force pushed
from
4ce12073
to
5497383b
1 year ago
unstubbable
marked this pull request as ready for review
1 year ago
unstubbable
requested a review
from
sebmarkbage
1 year ago
unstubbable
requested a review
from
lubieowoce
1 year ago
unstubbable
force pushed
from
d3bdae93
to
057397d6
1 year ago
lubieowoce
commented on 2025-03-18
lubieowoce
approved these changes on 2025-03-18
unstubbable
force pushed
from
fbe9f9d8
to
8926d575
1 year ago
sebmarkbage
requested changes on 2025-03-18
unstubbable
marked this pull request as draft
1 year ago
Generate stable `"use cache"` cache key for promise arguments
f13a58a4
Use an explicit locale
b7cf750e
Enhance explanation for form field sorting
86ad0823
Add test for async iterables as args
146f67a3
Use `Math.random()` instead
c9f0033e
Do not depend on render counter
15f699a6
Unflake a test
fed75a07
Experiment: encode arguments twice
f823e672
Experiment: encode/decode/encode
8f574120
patch temporaryReferences issue in react
52c63d3b
maybe make encode-decode-encode work?
6bdd1fae
lubieowoce
force pushed
from
cb82da8a
to
6bdd1fae
1 year ago
test: disable failing test after react patch
4c67084f
patch react again, better this time
28a3d832
Revert "test: disable failing test after react patch"
15d1e947
remove debug logs
9245394e
restore 50s timeout
0bc112a6
extract cache key encoding into createEncodedCacheKey
9c152a50
only do the extra decode+encode if async values are present (sketchy)
7f2d4726
Login to write a write a comment.
Login via GitHub
Reviewers
lubieowoce
sebmarkbage
Assignees
No one assigned
Labels
type: next
created-by: Next.js team
tests
Milestone
No milestone
Login to write a write a comment.
Login via GitHub