Update src/data/question-groups/react/react.md

feat/questions
Kamran Ahmed 1 year ago committed by GitHub
parent 49a7f46fc8
commit 9916c47f8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/data/question-groups/react/react.md

@ -201,7 +201,7 @@ questions:
answer: flush-sync.md answer: flush-sync.md
topics: topics:
- 'Core' - 'Core'
- 'Intermediate' - 'Advanced'
- question: How to render React components as static HTML string? - question: How to render React components as static HTML string?
answer: | answer: |
The `renderToString` function in React is part of the `react-dom/server` package and is used to render React components on the server-side to a static HTML string. It is commonly used for server-side rendering (SSR) in React. The `renderToString` function in React is part of the `react-dom/server` package and is used to render React components on the server-side to a static HTML string. It is commonly used for server-side rendering (SSR) in React.

Loading…
Cancel
Save