Hand in Mikaela and Emil webfall25#53
Conversation
…y built movie page.
Npahlfer
left a comment
There was a problem hiding this comment.
Nice to see that you guys utilize a Layout and the Outlet from React Router! Good usage of the styled component props, and great that you make use of finally for the try/catch and only setting the loading state to false once.
Make sure to keep reused URLs like the API URL in one place, as a constant, so it's easy to change and kept central when used in more than one file. The same goes for the API key, that could even be put in a .env file.
When naming components, think of what it is and what it symbolizes. I'm thinking of the icon that you export from the ui directory: Svg. It may be an SVG, but it's better to name it something descriptive like Arrow or BackArrow instead of just Svg :)
Nice to see that you guys have made use of the styled component theme file. But make sure to use it everywhere, at the moment you have used the breakpoints from the theme in some places and in other places not. The same goes for the colors. Try to be consistent there.
Overall good job guys!
👉 Live demo
Group project with Emil Florén and Mikaela Sturk