Design

Week 19, 2022 - New things learned

React Query, Thunderbolt, On demand ISR and more. It was a week full of trying new things and understanding how to use them.

LD Puri

LD Puri

5/16/2022, 4:36:32 PM

5 min read

example-work

Lots of tinkering and understanding

This week was packed with new learnings and trying out new tech. I finished the week off with trying to implement live preview mode from my Sanity CMS to the front end of my site.

Although this seemed simple, I encountered quite a few headaches trying to make it work. But the good new is, I pulled it off!

Once it works, it sort of feels like magic. I'm essentially writing my post in my sanity backend, while seeing the content automatically update on the front end without having to refresh. Super cool.

New things I learned this week

  • Quokka
  • Data fetching with React-Query
  • Thunderbolt for API testing
  • On-demand incremental static regeneration
  • Working with the Twilio API through serverless functions
  • Next.js live preview mode

Things I struggled with

  • Debugging code when something broke

Things that finally became clear

  • The power of React Query
  • How to use Axios properly
  • Tapping into Twilio's API