-
-
Notifications
You must be signed in to change notification settings - Fork 616
fix(collection): two collection hydration errors #607
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
- change useWindowSize hook to ensure for ssr result to match when hydration. - fixed hydration errors caused by windowWith and padding
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@gemini-code-assist review this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
The pull request addresses two hydration errors related to window size and padding in the collection component. The changes include modifications to the useWindowSize
hook and the calculation of padding. Overall, the changes seem reasonable and address the described issues.
Summary of Findings
Merge Readiness
The pull request appears to address the described hydration errors. Given the limited scope and the nature of the fixes, it seems reasonable to merge after addressing any potential concerns raised by other reviewers. I am unable to directly approve the pull request, and users should have others review and approve this code before merging.
I apologize, but I was unable to fetch the PR code for review. The review process requires access to the branch code, but I encountered an error trying to retrieve the "collection-hydration-error" branch. Based on the information provided in the PR description: Pull Request Review: Fix Collection Hydration ErrorsSummaryThis PR addresses two hydration errors in the collection component:
Observations
Recommendations
The changes appear to be straightforward fixes for specific technical issues, and assuming proper testing has been done, should improve the application's stability during the hydration phase. |
Description
useWindowSize
hook to ensure for ssr result to match when hydration.windowWidth
andpadding
Notion Test Page ID