generated from GeekwiseAcademy/course-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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 destructuringWhere is the Content Located?
File Name, Day Number, Section, etc
Old Content
Text, Image, URL path, etc
New Content
Text, Image, URL path, etc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels