Skip to content

fix: prevent infinite re-render caused by unstable dependencies#1394

Merged
yifancong merged 1 commit intoweb-infra-dev:mainfrom
Fatpandac:fix/infinite_render
Nov 10, 2025
Merged

fix: prevent infinite re-render caused by unstable dependencies#1394
yifancong merged 1 commit intoweb-infra-dev:mainfrom
Fatpandac:fix/infinite_render

Conversation

@Fatpandac
Copy link
Contributor

Summary

useUrlQuery 每次返回新的 query 会导致 packages/components/src/components/Layout/index.tsx#L50-L53 重复渲染

Related Links

@CLAassistant
Copy link

CLAassistant commented Nov 7, 2025

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Nov 7, 2025

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit 5e98e00
🔍 Latest deploy log https://app.netlify.com/projects/rsdoctor/deploys/690db3465e1a9d0008d6322b
😎 Deploy Preview https://deploy-preview-1394--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@yifancong
Copy link
Contributor

Thanks for your codes, and need you to sign cla.

@yifancong yifancong enabled auto-merge (squash) November 10, 2025 03:35
@yifancong yifancong merged commit 5f142a5 into web-infra-dev:main Nov 10, 2025
9 checks passed
@yifancong yifancong mentioned this pull request Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants