What does props stand for?
What is property
_________ is a JavaScript library for building user interfaces. It is maintained by Meta and a community of individual developers and companies.
What is React
How do you change a s state in a component?
You call the update state function.
What doe the DOM stand for?
What is Document Object Model --> an object representation of the html elements of a webpage
When we want to pass information held on state inside one component to another component, we pass them as _________.
What are props?
What are the building blocks of any React app?
What are Components
_______ components cannot have State
What is Stateless?
When a web page is loaded into the browser, the browser first looks for the ____ file.
What is HTML?
Props are passed from a _____ component to a _____ component.
What is Parent and child
This allows us to put HTML into JavaScript
What is JSX?
_____ is managed within the component
What is state?
We, as developers, need to know what HTTP Methods are and how they are used to perform CRUD operations on server resources. What does CRUD stand for?
What is Create, Read, Update and Delete?
If I want to use the brand in function car, how would I access it:
const myElement = <Car brand="Ford" />;
function Car(props) {
return <h2>I am a !</h2>;
}
What is { props.brand }?
How would we attach a click listener to a react component
What is an onClick?
State can be accessed using ____ _____ in functional components.
What are state hooks?
What do we call this type of syntax? `${} and ${} went to the store`
What are template literals?
Props make components ____ .
What is reuseable?
Importing a file/module starts with declaring which keyword (followed by the name of the import)?
What is import
How do you pass data from child to parent?
by passing functions from Parent to Child that can change the state in the parent.
This is located in HTML, it is created so we do not need to spend hours doing it. There is a nice keyboard shortcut to create it.
What is the boilerplate?