Skip to content

CSS-in-JS Rendering Hooks #3236

Description

@lunelson

💥 Proposal: Hooks for CSS-in-JS Client and Server Rendering

  • Guides / Styling and Layouts → Styling components with CSS-in-JS frameworks

So, the [v2] ☂️ Umbrella issue for v2 docs has the above open TODO (although the issue has been closed); and this is also currently mentioned in the docs as "welcoming PRs".

I have some experience with the setup patterns for emotion (incl. v11) and styled-components here, and would like to help with this. As far as I can tell from the source, this would require additions to the Lifecycle APIs so that the serverEntry.js and clientEntry.ts files' rendering functions could be modified. I would need some guidance on creating these hooks.

Anyone want to help me get started?

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: advancedIssues that are complex, e.g. large scoping for long-term maintainability.proposalThis issue is a proposal, usually non-trivial change

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions