NEW REACT PROJECT – Obligatory To-Do App

Category: | Posted on:February 7, 2024
to do app

The Obligatory To-Do App is a simple React project that I whipped up to test out Vite.

Objectives

The most popular React scaffold, create-react-app, is no longer being maintained, so work needed to find an alternative for spinning up smaller SEO-agnostic React builds. The to-do app is one of the most basic coding projects so I knew I could whip it up fairly quickly.

Development

The workflow for Vite is pretty much the same as create-react-app. You run the create command, it spins up a blank project, then you cd into the project and start the dev server. This is exactly what I was looking for. Vite is supposed to be leaner and more performant than create-react-app and I definitely felt that in the create and build processes. The app itself is pretty straightforward, though I did need a refresher on how to map out components. I intend to be better about keeping up with my React practice this year, and actually getting some React jobs at work should help.

Hurdles

I haven’t dug into how Vite’s caching works yet and I definitely need to because the styles in particular were not always updating. Vite has hot module swapping active by default and I’m not sure if that had something to do with it.

I also need to remember to change the base path of my apps before I run build on them and dump them on the server. I forget every time and spend ten minutes banging my head before it clicks.

Takeaways

Vite is a good decision for small react apps going forward. I need to dig further into the additional features it offers.

Related Logs


  • UPDATE – Simple Responsive Portfolio Svelte

    January 26, 2026

    Refactored the code in the Simple Responsive Portfolio Svelte to use updated Svelte 5 syntax for state and props. Svelte 5 Syntax Svelte 5 retired the prior export syntax. Before, the parent would establish state with a let variable declaration: A child component could then receive it with an export statement: The new syntax for […]

    Continue Reading
  • NEW PROJECT – Simple Responsive Portfolio Svelte

    January 23, 2026

    The Simple Responsive Portfolio Svelte is a remake of my Simple Responsive Portfolio project in Svelte 5. Objective I need to brush up on my Svelte skills since it updated to v5. My last foray was a photo album for my wedding that used Svelte Cloudinary to handle uploads. This project was just a simple […]

    Continue Reading
  • RIP Glitch.com

    January 12, 2026

    Glitch.com, the service I was using to host some of my projects for free, has terminated its hosting services. I didn’t find out until after the grace period, so everything I had up there is gone, but it was all just copies of existing repos anyway. I’ve had to migrate the original Game Picker 9000, […]

    Continue Reading