next.js
Unused `searchParams` in `"use cache"` page should not cause dynamic
#75662
Merged

Unused `searchParams` in `"use cache"` page should not cause dynamic #75662

unstubbable merged 15 commits into canary from hl/nar-85
unstubbable
ijjk ijjk added created-by: Next.js team
ijjk ijjk added type: next
unstubbable unstubbable force pushed from d40c6b94 to f1ea005e 1 year ago
ijjk
ijjk
unstubbable unstubbable force pushed from 8d6118a9 to d66414cf 1 year ago
unstubbable unstubbable changed the base branch from canary to hl/use-cache-static-expectations 1 year ago
ijjk ijjk added tests
unstubbable
unstubbable unstubbable force pushed from d66414cf to d6010499 1 year ago
unstubbable unstubbable changed the title WIP: `"use cache"` page should not cause dynamic Unused `searchParams` in `"use cache"` page should not cause dynamic 1 year ago
unstubbable unstubbable marked this pull request as ready for review 1 year ago
gnoff
gnoff commented on 2025-02-05
unstubbable unstubbable changed the base branch from hl/use-cache-static-expectations to graphite-base/75662 1 year ago
unstubbable WIP: `"use cache"` page should not cause dynamic
a7b0aaab
unstubbable Limit condition to when `dynamicIO` is not enabled
3e2e9183
unstubbable Work around frozen props in dev mode
60adb737
unstubbable Update prerender test expectation
f75e923f
unstubbable Improve code comment
98d8fe76
unstubbable Make `dynamicIOEnabled` property in `WorkStore` required
8e299a61
unstubbable Always throw an error on access
10aaf426
unstubbable Don't check for `.then` as that already triggers dynamic
85f27f5f
unstubbable Add an e2e test
e697fced
unstubbable Fix expectations
12b4eabc
unstubbable Replace heuristic with special `$$isPageComponent` prop
b0dcb828
unstubbable Already pass in empty `searchParams` instead of overwriting
7dbb5b0d
unstubbable Add missing `dynamicIO` condition
7a023421
unstubbable Check for `null`
0c6caf81
unstubbable unstubbable changed the base branch from graphite-base/75662 to canary 1 year ago
unstubbable Use `wellKnownProperties`
6de131b1
unstubbable unstubbable force pushed to 6de131b1 1 year ago
gnoff
gnoff approved these changes on 2025-02-05
unstubbable unstubbable enabled auto-merge (squash) 1 year ago
unstubbable unstubbable merged ae5026a0 into canary 1 year ago
unstubbable unstubbable deleted the hl/nar-85 branch 1 year ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 352 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone