Skip to content

add extractStyleNode function to extract style as ReactNode.#100

Open
tonny008 wants to merge 2 commits intoant-design:masterfrom
tonny008:patch-extractStyleNode
Open

add extractStyleNode function to extract style as ReactNode.#100
tonny008 wants to merge 2 commits intoant-design:masterfrom
tonny008:patch-extractStyleNode

Conversation

@tonny008
Copy link

这样使得 SSR 更容易在 React 中直接渲染。例如在 nextjs 中:

  useServerInsertedHTML(() => extractStyleNode(cache));

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