You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4bfc2cb
Browse filesBrowse the repository at this point in the historyBrowse files
fix: component selectors for memo, function wrappers and Preact, server manager options, prerelease job (#5867)
* ci: declare the packages the prerelease notes script imports
* fix: component selectors for memo and Preact, server manager options with empty plugins
* fix: one brand check for component selectors, and reuse the server manager's stylis instance
* refactor: resolve the server manager's stylis once, and share the brand check
* style: format the basic test
* test: assert the reused server stylis instance is the manager's own
Referring to another component in a style (`${Box}:hover { ... }`) produces that component's selector for any styled component under `preact/compat`, and for a `React.memo` or function wrapper that has the styled component's statics hoisted onto it.
A `StyleSheetManager` in a server component honors `namespace` and `enableVendorPrefixes` when they are passed together with `stylisPlugins={[]}`, matching client components.
0 commit comments