@mattstuddert
Posted
Awesome work on this challenge Kayode, it looks great and functions really well. How did you get on with the challenge? Did you learn anything new while going through it?
Keep up the great work!
@mattstuddert
Posted
@mrphemi nice! Yeah, hooks and context are great additions to React. I know about CSS Modules, but have never actually used them in a project. I'll take another look at your styles to get a better understanding of it. I've always used Styled Components with React apps and have always found it really nice to work with.
@mrphemi
Posted
@mattstuddert Thanks for the feedback matt. I used functional components and useState and useContext hooks for state management. I also used CSS modules for styles. I learned that stateless functional components are easier to read and understand and they also help reduce codebase with relatively fewer lines of code compared to class-based components. I also learned that context API is a perfect go-to for state management for small to medium-sized apps rather than bringing in an external library like redux.