Description
To prepare students for React course:
- We should cover object destructuring since it's often the technique used when destructing props in React.
function Header({ title, subtitle, color, logo }) { // <-- object destructuring
return <div>...</div>;
}
- We should also cover array destructuring so that when they use useState it doesn't feel like magic. With useState that's what we use.
const [bestFriend, setBestFriend] = useState("joe"); // <-- array destructuring
Where is the Content Located?
File Name, Day Number, Section, etc
Old Content
Text, Image, URL path, etc
New Content
Text, Image, URL path, etc
Description
To prepare students for React course:
Where is the Content Located?
File Name, Day Number, Section, etc
Old Content
Text, Image, URL path, etc
New Content
Text, Image, URL path, etc