Skip to content

Commit 179e0fc

Browse files
committed
docs: resolve conflict in react-19.md
1 parent 5095e26 commit 179e0fc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/content/blog/2024/12/05/react-19.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ We've added two new APIs to `react-dom/static` for static site generation:
330330
- [`prerender`](/reference/react-dom/static/prerender)
331331
- [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream)
332332

333-
These new APIs improve on `renderToString` by waiting for data to load for static HTML generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. For example, in a Web Stream environment, you can prerender a React tree to static HTML with `prerender`:
333+
These new APIs improve on `renderToString` by waiting for data to load for static HTML generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. For example, in a Web Stream environment, you can prerender a React tree to static HTML with `prerender`:
334334

335335
```js
336336
import { prerender } from 'react-dom/static';
@@ -362,11 +362,7 @@ React 19 includes all of the React Server Components features included from the
362362

363363
#### How do I build support for Server Components? {/*how-do-i-build-support-for-server-components*/}
364364

365-
<<<<<<< HEAD:src/content/blog/2024/04/25/react-19.md
366-
While React Server Components in React 19 are stable and will not break between major versions, the underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x.
367-
=======
368-
While React Server Components in React 19 are stable and will not break between minor versions, the underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x.
369-
>>>>>>> b1a249d597016c6584e4c186daa28b180cc9aafc:src/content/blog/2024/12/05/react-19.md
365+
While React Server Components in React 19 are stable and will not break between minor versions, the underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x.
370366

371367
To support React Server Components as a bundler or framework, we recommend pinning to a specific React version, or using the Canary release. We will continue working with bundlers and frameworks to stabilize the APIs used to implement React Server Components in the future.
372368

0 commit comments

Comments
 (0)