-
Notifications
You must be signed in to change notification settings - Fork 27.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: move url to app context to avoid passing requestStore (#72212)
requestStore is set on the app context but this store doens't make sense to scope for all renders, in particular prerenders so we need to extract the necessary information that is actually globally available and carry that around on the app context instead. This change updates app context to carry the url object and it updates reads of the url to use app context instead of requestStore. Now nothing is reading requestStore from the context so I removed it. This update is part of a larger refactor to eliminate the requestStore that shadows prerendering. It should not alter any program semantics. stacked on #72211
- Loading branch information
Showing
2 changed files
with
13 additions
and
9 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