Design comparison
SolutionDesign
Solution retrospective
Grabs data from the api, and the button should work in some cases. Refreshing generates new data from the api and the first click does. Nextjs and the API cache data, therefore upon the app router refresh will just hold onto the current data.
Also note, the container will flex in height but should keep the width.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord