File `SockFavourite.tsx` Solid star: `<i className="fas fa-star" />` Hollow star: `<i className="far fa-star" />` Add an event handler to the star icon and toggle between solid / hollow. Create a PR per Task - Save the solid/hollow state in component state - [ ] Implemented with a Component class - [ ] Implemented with hooks - [ ] Persist the favorited socks with `ProductRepository.favouriteSock`
File
SockFavourite.tsxSolid star:
<i className="fas fa-star" />Hollow star:
<i className="far fa-star" />Add an event handler to the star icon and toggle between solid / hollow.
Create a PR per Task
ProductRepository.favouriteSock