tools used
- Chrome dev tools.
- Tailwind css
- SCSS
- React 18+
- Next 13+ (Tried using next 13 app directory)
- react icons
- ant design - modals
- moment - for handling dates
- axios - for data fetching
- react-infinite-scroll-component - for client side infinitescroll
- react-masonry-css - for masonry Picture Cards
- Explanary video : https://youtu.be/9JZhs__Awso
- live Demo : https://astronomy-pid.vercel.app/
- My Portfolio : https://kritik.servicesstrategy.com/
- github : https://github.com/kritik-sah/astronomy-pid
Note:
- initialy i tried to use next 13 server side data fetching, but it was not not working properly so i used client side data fetching
- I was using custom infinite scroll but then i found this package "react-infinite-scroll-component" which is better then mine. so i used it.
- I built custom masonry before using css flex but i have to put that in column and have to make height fixed. but now with "react-masonry-css" it made it way simpler.
now: its working fine even in production.