Skip to content

fix disappearing home sections on som navigation paths and theme change#2120

Merged
Simek merged 1 commit intomainfrom
fix-disappearing-home-sections
Jan 14, 2026
Merged

fix disappearing home sections on som navigation paths and theme change#2120
Simek merged 1 commit intomainfrom
fix-disappearing-home-sections

Conversation

@Simek
Copy link
Copy Markdown
Member

@Simek Simek commented Jan 14, 2026

📝 Why & how

On PROD, spotted that on certain navigation paths and when toggling theme on the home page the section data is disappearing.

This seems to be caused by getInitialProps getting re-triggered on the client side and mutating the data unpredictably. For now we can use cloned props to prevent that, but I plan to explore this further, and probably refactor the data fetching patterns a bit in near future.

✅ Checklist

  • Documented how you found or replicated the issue.
  • Explained how you fixed the issue or built the feature.

@Simek Simek merged commit 28b690e into main Jan 14, 2026
1 check passed
@Simek Simek deleted the fix-disappearing-home-sections branch January 14, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant