Class 2

This week in class we learned about the very basics of React, specifically the difference between class based and functional based components

In the past you would need to use a class based component when you wanted to manipulate state, but now you can do that with functional based components as well and that is the go-to way to use React.

create-react-app is the startout boilerplate code for react. You can initalize your project with it and everything you need to code in React has been added in

This creates html elements in javascript code

React allows you to write html and css in your javascript file making it easier and more efficient

Its a copy of the site used by React to tell if something has been changed

Components are either functional or class based and help pass along data, elements help display the data that has been manipulated

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

React-Native and Android Development for mac

Devta Part 1 by Mohiuddin Nawab

Scaleway | Made with Gatsby JS

Liquibase Code Examples Just Got Prettier

Best way to use custom filters in Vue.js

Data Analysis on Solana Blockchain data

How to build an Simple Movie Search UI With Elasticsearch and React

Selenium 4 FAQs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ryan Pearson

Ryan Pearson

More from Medium

Get to know me

Regular Functions and Arrow Functions in this keyword

Catch Them Being Good

Binary 001: Counting and Calculating Like a Computer