Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make localizeMod SSR safe#126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dgreif merged 10 commits intomainfromcbodfield/localized-mod-ssr
May 6, 2024
Merged

Make localizeMod SSR safe#126

dgreif merged 10 commits intomainfromcbodfield/localized-mod-ssr
May 6, 2024

Conversation

Cbodfield
Copy link
Contributor

@CbodfieldCbodfield commentedMay 6, 2024
edited
Loading

When normalizing the hotkeys in an SSR environment,localizeMod breaks SSR with its directwindow.navigator reference.

This PR adds window checks to ensure safe SSR usage, updates types, and adds test coverage.

@CbodfieldCbodfield marked this pull request as ready for reviewMay 6, 2024 19:34
@CbodfieldCbodfield requested a review froma team as acode ownerMay 6, 2024 19:34
Copy link
Contributor

@dgreifdgreif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for getting this fixed up!

Cbodfield reacted with heart emoji
@dgreifdgreif merged commit63d60c5 intomainMay 6, 2024
@dgreifdgreif deleted the cbodfield/localized-mod-ssr branchMay 6, 2024 19:42
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dgreifdgreifdgreif approved these changes

@iansan5653iansan5653Awaiting requested review from iansan5653

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Cbodfield@dgreif

[8]ページ先頭

©2009-2025 Movatter.jp