next.js
Bypass `"use cache"` caches when Draft Mode is enabled
#77141
Merged

Bypass `"use cache"` caches when Draft Mode is enabled #77141

unstubbable merged 10 commits into canary from hl/use-cache-draft-mode
unstubbable
ijjk ijjk added created-by: Next.js team
ijjk ijjk added tests
ijjk ijjk added type: next
ijjk
ijjk
unstubbable unstubbable force pushed to c0861ce1 1 year ago
unstubbable unstubbable marked this pull request as ready for review 1 year ago
unstubbable unstubbable requested a review from gnoff gnoff 1 year ago
gnoff
gnoff dismissed these changes on 2025-03-15
unstubbable unstubbable requested a review from gnoff gnoff 1 year ago
unstubbable unstubbable force pushed to b065f0c1 1 year ago
unstubbable unstubbable dismissed their stale review 1 year ago
made significant changes after approval
wyattjoh
wyattjoh commented on 2025-03-17
unstubbable
gnoff
unstubbable Bypass `"use cache"` caches when Draft Mode is enabled
e427ca9f
unstubbable Don't break Next.js apps with old targets in their tsconfig.json
05771c49
unstubbable Serialize/deserialize args and return value also in Draft Mode
ac0a8830
unstubbable Disable for deploy tests for now
b67194aa
unstubbable Allow draft mode to be read in `"use cache"`
9964bbeb
unstubbable Revert allowing request-scoped data to be accessed in `"use cache"`
b13ab5a8
unstubbable Re-activate deploy test
66081bf5
unstubbable unstubbable force pushed from 2f0141aa to 66081bf5 1 year ago
unstubbable Enable dynamic draft mode access in `unstable_cache`
c3919f1e
unstubbable Clean up the code a bit
45751eb1
unstubbable unstubbable requested a review from wyattjoh wyattjoh 1 year ago
wyattjoh
wyattjoh commented on 2025-03-19
unstubbable Return `undefined` in `default` case
85904061
wyattjoh
wyattjoh approved these changes on 2025-03-19
unstubbable unstubbable enabled auto-merge (squash) 1 year ago
unstubbable unstubbable merged f67f44c6 into canary 1 year ago
unstubbable unstubbable deleted the hl/use-cache-draft-mode branch 1 year ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone