You'll also see it in many other companies like AirBNB, even Twitter, and the New York Times. So where does React work? This course is for web designers, so we'll be concentrating mainly on the browser, which is powered by a specific renderer in React called ReactDOM. But you can also render React components on the server, which are then served to the browser using ReactDomServer. And you may have heard that you can use React to create native apps, using React Native.
These all involve different kinds of components, and different kinds of renderers. There are lots of different ones supporting all different kinds of environments. You could see a list of some of the many, many places that React can be rendered at this link on GitHub. It's pretty fascinating. So the next question might be, how would I work with React? Well, you can build an entire site or app using React, soup to nuts. You can do the whole thing. But you don't have to. You can also build just one piece of an existing site, or integrate React into an existing code base.
React is component based. We're building up a series of components and putting them together on our pages. But web components is a different set of technologies, which are standardized. You could check out Learning Web Components, and other courses, in the library to learn more about this. So that's a quick overview of what React is and what it's good for.
- Identify notable features about how React works.
- Identify good early steps for any React project.
- Explain why the little PHP app that powers our API has a way to add delay.
- Outline what a lifecycle method is.
- Recall the React convention that must be followed when adding a status message.
- Explain the purpose of React.Fragment.