forked from microsoft/fast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fast ssr access to globals should be allowed ouside of a request…
… after adding RequestStorageManager middleware (microsoft#6318) * Updated installDOMShim logic so original global values are returned from getter if not in request scope * Change files * After install DOM Shim, globals will now return the original global instead of the shimmed version in async local storage if code is not in storage scope. * Update change/@microsoft-fast-ssr-e107db57-9534-4ac4-bd65-157d5b40a79f.json Co-authored-by: Rob Eisenberg <EisenbergEffect@users.noreply.github.com> Co-authored-by: Rob Eisenberg <EisenbergEffect@users.noreply.github.com>
- Loading branch information
1 parent
6fae6f0
commit 4fe1bc5
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@microsoft-fast-ssr-e107db57-9534-4ac4-bd65-157d5b40a79f.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "After install DOM Shim, globals will now return the original global instead of the shimmed version in async local storage if code is not in storage scope.", | ||
"packageName": "@microsoft/fast-ssr", | ||
"email": "erhuan@microsoft.com", | ||
"dependentChangeType": "prerelease" | ||
} |
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