handleSubmit
function that handles the form submission.submitting
state variable and pass it to the Button in the disabled
and loading
props.src/ui/
directory directly, but instead wrapping the component.
We built a TrackCard
component and FavoriteTracks
page in Subframe and brought them to our codebase:
TrackCard
component with a new component that will manage the simple business logic.FavoriteTracks
page which manages the data, the favorite
state, and provides the onClick handlers.