orhan-bursa / hilalvisits-web

https://hilalvisits-web.vercel.app
0 stars 0 forks source link

Add revalidate logic for all notion fetch api requests #23

Closed orhan-bursa closed 3 weeks ago

orhan-bursa commented 8 months ago

https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating

read docs above, turn notion requests to api instead of notion client if needed, to revalidate the requests.

orhan-bursa commented 3 weeks ago

revalidate logic implemented, requests sent using fetch api instead of notion client.