The best way to learn a new technology is to play with it so to learn React I started a simple project I termed “color-fun” (GitHub). The general idea is to let you specify a starting color along with a step size for each of the digital primary colors and see the color progression. By messing around with various combinations one can get a pretty good sense of the way the RGB color scheme works. To make it a bit less boring there’s also a “random” option to generate a new value combination and a new color row.
While simple it was my first real attempt at a React project and - apologies for the pun - color me impressed. It was straightforward to get started and felt intuitive and direct. Oftentimes when learning a new framework it feels as if you’re learning a brand new way to do things without a good understand of the behind-the-scenes magic. With React there’s a fair amount of magic but it’s intuitive and doesn’t prevent you from getting up and running. I’m positive my code could be cleaner, less repetitive, and organized better but it logically makes sense and if someone were to suggest a different way of organizing it I’m sure I’d understand it immediately.