diff --git a/beta/src/components/Layout/HomeContent.js b/beta/src/components/Layout/HomeContent.js index ae894b1b7..f800f393a 100644 --- a/beta/src/components/Layout/HomeContent.js +++ b/beta/src/components/Layout/HomeContent.js @@ -2,7 +2,7 @@ * Copyright (c) Facebook, Inc. and its affiliates. */ -import {createContext, useState, useContext, Suspense} from 'react'; +import {createContext, useState, useContext, useId, Suspense} from 'react'; import cn from 'classnames'; import ButtonLink from '../ButtonLink'; import {IconRestart} from '../Icon/IconRestart'; @@ -103,12 +103,12 @@ export function HomeContent() {
- You don’t have to rewrite your entire app with React. Add
- React as a <script> tag in your HTML, and
- render interactive components anywhere on the page.
+ Each React component receives some data and returns what
+ should appear on the screen. Pass different data, and React
+ will update the screen to match it.
- React does not make assumptions about the rest of your stack.
- Whether you use a traditional server environment like Python
- or Ruby, a static HTML page generator, or write HTML by hand,
- you can add interactivity with React.
+ You don’t have to rewrite your entire app to React. Add React
+ as a {'
-
-
-