PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Written By
Views

28Jun2022: React Client Side Routing

I literally was so focused and sucked in on coding projects today that I forgot to sit down to write!

I was basically practicing creating SPAs and the kind of “fake routing” React does with the virtual DOM rendering, re-practicing how to do routing and passing props properly.

I was also doing a lot of api endpoint testing and how to render api data onto the page with React. Good stuff - I also had an api call that wasn’t working and I tried it with async await - it works sometimes now and I literally cannot consistently reproduce it which is frustrating. I presume it’s related to the async await - I wrote it based off what I saw on the MDN docs which it worked a few times and literally without changing anything on certain refreshes it just doesn’t want to work.

I hope I’ll be able to find out what’s up tomorrow.

Catt xx

Comments (0)

loading comments