Skip to content

Release 2.1.0#8

Merged
dnvt merged 3 commits intomainfrom
release/2.0.2
Mar 7, 2025
Merged

Release 2.1.0#8
dnvt merged 3 commits intomainfrom
release/2.0.2

Conversation

@dnvt
Copy link
Copy Markdown
Owner

@dnvt dnvt commented Mar 7, 2025

This pull request introduces comprehensive Server-Side Rendering (SSR) support to the baseline-kit package. It includes updates to the components and documentation to ensure consistent rendering between server and client, and to improve compatibility with popular frameworks like Next.js and Remix.

Improvements to SSR support:

  • Changelog and Documentation Updates:

    • CHANGELOG.md: Added a new section for version 2.1.0, detailing the SSR support and other minor changes.
    • README.md: Added a new section explaining the SSR compatibility and design, including the ssrMode prop for components.
  • Component Updates:

  • Utility Updates:

    • package.json: Updated build scripts and package version to 2.1.0, and adjusted exports for proper CSS file resolution in SSR environments. [1] [2]

These changes ensure that the baseline-kit components render consistently across server and client environments, improving the overall developer experience and compatibility with SSR frameworks.

dnvt added 3 commits March 6, 2025 22:23
…r and client. Added `ssrMode` prop, hydration-aware components, and improved compatibility with Next.js and similar frameworks. Enhanced package exports for CSS resolution in SSR environments.
This commit introduces an `ssrMode` flag across components for improved SSR compatibility, ensuring stable initial renders. It also implements hydration tracking to switch between SSR-based and dynamic values post-hydration, enhancing responsiveness and accuracy. Relevant tests and styles have been updated to reflect the changes.
@dnvt dnvt self-assigned this Mar 7, 2025
@dnvt dnvt merged commit 2e6ac8f into main Mar 7, 2025
2 checks passed
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