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