100 Days of Code Day 32
Today’s exercise is nucleotide. Count up the occurrences of a character in a string and throw an error if you find something that isn’t in ‘A’, ‘C’, ‘G’, or ‘T’. Nothing too interesting.
Well looks like the book is out of date now. Create-React-App has been deprecated, I am going to use Vite instead. Unfortunately that face-planted because my node version was too old. I had to update that and try again. That updated python (is that going to get me later). The script left errors telling me to to manually upgrade chocolatey. Of course that only works in a administrator mode powershell window. Yikes, just let me run the scaffolding program.
For react-router it looks like Switch was replaced with Routes. It looks like they expect components in .jsx files, not .js. The navbar and link syntax has changed, and there is some annoying centering of everything right on the left edge thanks to vite.
Anyway I made it through chapter 14 and all I have so far is a nav bar.
