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

fix: ensure signing out cannot cause any runtime render errors#13137

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
Parkreiner merged 21 commits intomainfrommes/login-fix
May 3, 2024
Merged
Changes from1 commit
Commits
Show all changes
21 commits
Select commitHold shift + click to select a range
4da94ef
fix: remove some of the jank around our core App component
ParkreinerMay 2, 2024
9986024
refactor: scope navigation logic more aggressively
ParkreinerMay 2, 2024
7004c9c
refactor: add explicit return type to useAuthenticated
ParkreinerMay 2, 2024
ebfaec5
refactor: clean up ProxyContext code
ParkreinerMay 2, 2024
1192eb3
wip: add code for consolidating the HTML metadata
ParkreinerMay 2, 2024
bbe2ae0
refactor: clean up hook logic
ParkreinerMay 2, 2024
1c41937
refactor: rename useHtmlMetadata to useEmbeddedMetadata
ParkreinerMay 2, 2024
79e9c45
fix: correct names that weren't updated
ParkreinerMay 2, 2024
81f2cd9
fix: update type-safety of useEmbeddedMetadata further
ParkreinerMay 2, 2024
390418f
wip: switch codebase to use metadata hook
ParkreinerMay 3, 2024
486f292
Merge branch 'main' into mes/login-fix
ParkreinerMay 3, 2024
b77af73
Merge branch 'mes/login-fix' of https://github.com/coder/coder into m…
ParkreinerMay 3, 2024
e072f7a
refactor: simplify design of metadata hook
ParkreinerMay 3, 2024
2a58322
fix: update stray type mismatches
ParkreinerMay 3, 2024
b55abb7
fix: more type fixing
ParkreinerMay 3, 2024
c45e1b7
fix: resolve illegal invocation error
ParkreinerMay 3, 2024
2a63c1d
fix: get metadata issue resolved
ParkreinerMay 3, 2024
4d3b155
fix: update comments
ParkreinerMay 3, 2024
8067e77
chore: add unit tests for MetadataManager
ParkreinerMay 3, 2024
5e6e974
fix: beef up tests
ParkreinerMay 3, 2024
772b96f
fix: update typo in tests
ParkreinerMay 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
fix: update stray type mismatches
  • Loading branch information
@Parkreiner
Parkreiner committedMay 3, 2024
commit2a5832267a25c46b135cf199d41822f21bd9d10c
4 changes: 2 additions & 2 deletionssite/src/hooks/useEmbeddedMetadata.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -211,8 +211,8 @@ export function makeUseEmbeddedMetadata(
// Hook binds re-renders to the memory reference of the entire exposed
// metadata object, meaning that even if you only care about one value,
// using the hook will cause a component to re-render if the object changes
// at all If this becomes a performance issue down the line, we can look
// into selector functions to minimize re-renders
// at all. If this becomes a performance issue down the line, we can look
// into selector functions to minimize re-renders, but let's wait for now
const metadata = useSyncExternalStore(
manager.subscribe,
manager.getMetadata,
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp