Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overall Improvments #4

Merged
merged 4 commits into from Jul 17, 2022
Merged

Overall Improvments #4

merged 4 commits into from Jul 17, 2022

Conversation

mmaaaaz
Copy link
Contributor

@mmaaaaz mmaaaaz commented May 21, 2022

Hey Louis!

Here are some improvements I made, cause I was bored :p

Hope you'll like the pr.

  • Make use of semantic HTML
  • Use proper next/link instead of router.push
  • Use SWR for fetching and removed zustand (no need for state management)
  • Updated DEPS.
  • Organized import exports
  • Improved Layout
  • Use static pages for pokemon/[name], no need to server render as nothing changes.
  • Improved CSS spacing and shadows
  • Use next/image.
  • Added preconnect to required origins.
  • Reduce data passed to page by normalizing Pokémon.
  • Fixed Scroll Position when navigating between pages.

You can inspect it live here.

- Make use of semantic HTML
- Use proper `next/link` instead of `router.push`
- Use SWR for fetching and removed zustand (no need for state management)
- Updated DEPS.
- Organized import exports
- Improved Layout
- Use static pages for `pokemon/[name]`, no need to server render as nothing changes.
- Improved CSS spacing and shadows
- Use `next/image`.
- Added preconnect to required origins.
- Reduce data passed to page by normalizing Pokémon.
@vercel
Copy link

vercel bot commented May 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextjs-pokedex ✅ Ready (Inspect) Visit Preview Jul 17, 2022 at 0:33AM (UTC)

Removed sass
@mmaaaaz
Copy link
Contributor Author

mmaaaaz commented Jul 17, 2022

Any update on this @Louis3797 ?

@Louis3797
Copy link
Owner

Sry was busy for a long time and did not look ^^ but everything looks really great 👍 . Thanks for the contribution

@mmaaaaz
Copy link
Contributor Author

mmaaaaz commented Jul 17, 2022

No issues, Glad you liked the PR 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants