Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 835bd16 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Author
|
This PR is available at |
Contributor
Author
|
If you are interested in RSC support, please test the build and react to #5624 |
- Add .npmrc with pnpm configuration - Update root and package package.json files for pnpm workspace - Update GitHub Actions workflows to use pnpm - Update CONTRIBUTING.md and README.md with pnpm instructions
- Remove .yarn/releases/yarn-4.12.0.cjs - Remove .yarnrc.yml - Remove yarn.lock
- Detect RSC environments via typeof React.createContext check - Output inline <style> tags with React 19 precedence attribute in RSC mode - Make ThemeProvider and StyleSheetManager no-ops in RSC (pass-through children) - Add runtime guards for conditional React hook access - Update exports to support RSC-safe imports - Add changeset documenting RSC support and best practices
- Add modern HTML5 elements (dialog, details, summary, etc.) - Add SVG elements for better SVG support - Improve element coverage for comprehensive DOM element styling
- Extend CSSProperties interface to accept CSS variable names (--*) - Allow string index signature for custom properties - Update type tests to verify CSS variables work correctly
- Add Server Component test page with ServerTestWrapper - Add ServerTestControls for dynamic component loading - Migrate sandbox to Next.js App Router - Remove old Pages Router files - Update sandbox configuration for App Router support
- Add AGENTS.md with codebase file map and rendering flow diagrams - Document RSC best practices in FAQ (data attributes, CSS variables) - Show CSS custom property cascading as ThemeProvider alternative - Update checkDynamicCreation to handle edge cases
- Add pnpm-lock.yaml with lockfile version 9.0 - Add pnpm-workspace.yaml to define workspace structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adjust library to function properly under RSC by conditionally bypassing some hook usage. Normally conditional use of hooks is a no-no, but the final behavior is deterministic per runtime environment.
Also adds trusted publishing and fixes #5608