-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify RequestStore, PrerenderStore and CacheStore (#70819)
Stacked on #70889. This merges these three stores into a single AsyncLocalStorage context containing a disjoint union named WorkUnitStore. That way they're mutually exclusive. This prevents us from leaking RequestStore information in either PrerenderStore or CacheStore. --------- Co-authored-by: Janka Uryga <lolzatu2@gmail.com>
- Loading branch information
Showing
33 changed files
with
480 additions
and
490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
packages/next/src/client/components/request-async-storage-instance.ts
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
packages/next/src/client/components/request-async-storage.external.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.