next.js
Generate stable `"use cache"` cache key for promise arguments
#77244
Open

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
unstubbable
ijjk ijjk added created-by: Next.js team
ijjk ijjk added tests
ijjk ijjk added type: next
ijjk
lubieowoce
lubieowoce commented on 2025-03-18
unstubbable unstubbable force pushed from e14bdef6 to 4ce12073 310 days ago
unstubbable unstubbable force pushed from 4ce12073 to 5497383b 310 days ago
unstubbable unstubbable marked this pull request as ready for review 310 days ago
unstubbable unstubbable requested a review from sebmarkbage sebmarkbage 310 days ago
unstubbable unstubbable requested a review from lubieowoce lubieowoce 310 days ago
unstubbable unstubbable force pushed from d3bdae93 to 057397d6 310 days ago
lubieowoce
lubieowoce commented on 2025-03-18
lubieowoce
lubieowoce approved these changes on 2025-03-18
ijjk
unstubbable unstubbable force pushed from fbe9f9d8 to 8926d575 310 days ago
sebmarkbage
sebmarkbage requested changes on 2025-03-18
sebmarkbage
lubieowoce
unstubbable unstubbable marked this pull request as draft 310 days ago
unstubbable Generate stable `"use cache"` cache key for promise arguments
f13a58a4
unstubbable Use an explicit locale
b7cf750e
unstubbable Enhance explanation for form field sorting
86ad0823
unstubbable Add test for async iterables as args
146f67a3
unstubbable Use `Math.random()` instead
c9f0033e
unstubbable Do not depend on render counter
15f699a6
unstubbable Unflake a test
fed75a07
unstubbable Experiment: encode arguments twice
f823e672
unstubbable Experiment: encode/decode/encode
8f574120
lubieowoce patch temporaryReferences issue in react
52c63d3b
lubieowoce maybe make encode-decode-encode work?
6bdd1fae
lubieowoce lubieowoce force pushed from cb82da8a to 6bdd1fae 309 days ago
lubieowoce test: disable failing test after react patch
4c67084f
lubieowoce patch react again, better this time
28a3d832
lubieowoce Revert "test: disable failing test after react patch"
15d1e947
lubieowoce remove debug logs
9245394e
lubieowoce restore 50s timeout
0bc112a6
lubieowoce extract cache key encoding into createEncodedCacheKey
9c152a50
lubieowoce only do the extra decode+encode if async values are present (sketchy)
7f2d4726

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone