Introducing Zap by Enlight
The power of React.js & how to learn it
What do you get when you take modern professionals, a black box of techy buzzwords, your email inbox and put them all together? You're reading it. Zap is a two minute-or-less jolt delivered right in your inbox every Thursday and Sunday.
This is Maxim from the Enlight team here, and I'll be your guide throughout this publication. Today, I want to start with a question I get quite often:
"What is React, and how can I learn it?"
Before I can answer that, we have to talk a little about web development in general. It’s a fascinating space; it seems like there's a new framework every day.
However, if you're not familiar already, React.js might be the most powerful and well-known framework today (and it isn't outdated...yet!)
Interested in learning? If you don't know basic HTML and CSS, we recommend you to check out some projects on Enlight like this Build a Clock project. There are also many great crash courses on YouTube if that’s more your thing. Once you feel like you've got the hang of it, follow our React playbook 👇
Events (~1 hour)
Next, add interactivity with onClick and onChange events. For some reading, scroll to Handling events in functional components in this article and go from there!
Props (~2 hours)
Props, or properties, is data that is tied to your React components. A component is a modular piece of React code in your app.
State (~4 hours)
Things get really interesting here. State is data which unlike props, can force components to re-render with updated data. I like this video for learning about both props and state.
I won't say much about this one since it's a bonus but let's just say it will take your use of state to the next level — learn about hooks and useEffect
There we have it! In the next zap, I’ll include some recommendations for people to follow in this space and more. I hope to see you back here again later this week to get a buzzing start to your Sunday (go jackets! 🐝)