Jul 1, 2024
<a>
, <div>
, <h3>
<Thumbnail>
, <LikeButton>
className
instead of class
, htmlFor
instead of for
etc.useState
hookuseState
takes a default value and returns an array with the current state and a function to update itonChange
and onClick
to handle user interactionsuseState
useState
to manage input and to-do list stateuseEffect
to perform side effects like syncing with local storagelocalStorage
<>
) to group multiple elements without adding extra nodes to the DOMkey
prop