Skip to content

Instantly share code, notes, and snippets.

View krunalshahcodes's full-sized avatar
🚀
Building Stuff...

Krunal Shah krunalshahcodes

🚀
Building Stuff...
View GitHub Profile
@krunalshahcodes
krunalshahcodes / system-design.md
Created February 21, 2022 06:09
System Design.md

NextJS over Create React App

  • SEO is not concern at the moment but i will still choose NextJS over regular Create React App. So when we need to implement SEO it will be easy transition.
  • Next has really good Image optimization library so if our application has more images it will be better.
  • Next has better serverless support out of the box and can it can be easily deployed on vercel

Redux Toolkit Query or React Query over Redux or any other state management / data fetching library

Now a day caching on frontend as important as on backend. Redux is good solution for state management but it lacks caching and it needs more boilerplate code. To solve this problem i will prefer using RTK Query or React Query for data fetching which supports caching and cache invalidation out of the box.

Keybase proof

I hereby claim:

  • I am imkrunal on github.
  • I am iamkrunal (https://keybase.io/iamkrunal) on keybase.
  • I have a public key whose fingerprint is 9E44 1E47 365F F6CD A173 BC8F B2BB F531 0CEF 6B31

To claim this, I am signing this object: