React: Core Concepts
Written by Stephanie Segura | February 6, 2021
This is part one in my series of React. I will begin by going over the Core Concepts, and then work my way up to more advanced things like React Hooks.
Elements and JSX
React Element is what gets returned from a component’s props. It’s an object that virtually describes the DOM nodes that a component represents.
There are two types of components: Functional and Class
In addition to the above, JSX also allows to nest expressions and elements.
To get your React App started, you need at minimum, the following:
- ReactDOM.render() — this is to render our app
2. A JSX element — called a root node in this context
3. A DOM element within which to mount the app — usually a div with an id of root in an index.html file
Thank you so much for stopping by! If you enjoyed this blog, please be sure to keep an eye out for React: Core Concepts (Pt.2).Please checkout my online portfolio and feel free to connect with me on Linkedin!
Stephanie Segura - Houston, Texas, United States | Professional Profile | LinkedIn
Hi there! My name is Stephanie. I am a Full-Stack Software Engineer residing in Houston, TX. Building on my business…