TLDR
React: Back in the box where this little goblin belongs. Today was fun with JSX day, and it was nice to be back on solid footing. For all my hate of Javascript, I missed Copilot guessing my code correctly.
React:
As a crusty old-timer who moved away from UI/UX before React existed, I thought the fastest thing I could do to get up to speed was to follow a demo 100% as shown… HAHAHAHAHAHAHA yeah, right 🤡 this is JS. Everything in a 10-month-old demo is deprecated, and most dependencies are abandonware. Tip: when doing the edits to remove boilerplate, use common sense (best JS framework ever)
OK, okay, it’s not all bad. In fact, it’s moving pretty quickly. Bonus when all the AIs know the languages you’re using, and you don’t have to build a knowledge vector database to train and fine-tune them. I’m looking at you, Cairo.
Staying with the baby steps approach, this weekend, the plan is to build a little react game that I hope to adapt to become a dojo game. Here’s a random list of what I did, am doing, and maybe learned…
- create-react-app is very deprecated. Hey… easy now… remember my go-to web stack is LAMP on a mint vm.
- decided on vite + npm after testing with npm, yarn, pnpm, & bun. “bun is fun, but for now, i’m done”
- vite use react + javascript + tailwind (maybe switch to typescript but KISS for now)
- when using tailwind; make sure to install it for vite maybe switch to Picocss later = https://picocss.com
- add some extensions focusing on ES7S+ and Prettier + ESLint (this vid is helpful)
- add some more extensions because of tailwind; only added Tailwind CSS IntelliSense for now.
- finished out 90% of the UI design (it should have taken 10 minutes, not hours, but we are here now, and it’s good-nuff)
Alright, done, I lost track and almost forgot to post my Daily. :mannydance: Woohoo, never going to quit you! Arrivederci, it’s time to dive back into react hooks and game mechs.
gn,
nicabar