You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
13.[Higher Order Components](#higher-order-components)
20
+
14.[Rendering Lists](#rendering-lists)
21
+
15.[Context API](#context-api)
22
+
16.[Keys](#keys)
22
23
17.[Forms](#forms)
23
24
18.[Styling in React](#styling-in-react)
24
25
19.[Render Props](#render-props)
@@ -39,6 +40,28 @@ cd my-react-app
39
40
npm start
40
41
```
41
42
43
+
## Start a New React Project
44
+
45
+
If you want to create a new app or website entirely with React, we suggest choosing one of the React-powered frameworks that are popular in the community.
46
+
47
+
You can use React without a framework, but we have found that most apps and sites eventually need to address common issues like code splitting, routing, data fetching, and HTML generation. These challenges are not unique to React but are common to all UI libraries.
48
+
49
+
By starting with a framework, you can quickly get up and running with React and avoid the need to develop your own framework later.
50
+
51
+
### Next.js
52
+
53
+
Next.js’ Pages Router is a full-stack React framework. It’s versatile and lets you create React apps of any size—from a mostly static blog to a complex dynamic application. To create a new Next.js project, run in your terminal:
54
+
55
+
```
56
+
npx create-next-app@latest
57
+
58
+
```
59
+
60
+
Next.js is maintained by [Vercel](https://vercel.com/). You can [deploy a Next.js app](https://nextjs.org/docs/app/building-your-application/deploying) to any Node.js or serverless hosting, or to your own server. Next.js also supports a [static export](https://nextjs.org/docs/pages/building-your-application/deploying/static-exports) which doesn’t require a server.
61
+
62
+
63
+
64
+
42
65
## JSX
43
66
JSX is a syntax extension for JavaScript that looks similar to XML or HTML. It allows developers to write HTML elements and components in a more concise and readable manner within JavaScript files.
0 commit comments