Preview Mode Links will not work in preview mode

Code Ryan

Sep 30, 2024

Code: https://github.com/coderyansolomon/react-state

 

In this video, we'll explore why React's useState hook is essential for building interactive user interfaces. Through a simple counter example, you'll see how relying on plain JavaScript variables fails to trigger UI updates when data changes. By the end, you'll...


Sep 26, 2024

Learn how to handle events in React.js with this step-by-step tutorial, perfect for beginners. We'll cover essential techniques for managing button clicks, input changes, and form submissions in a simple, easy-to-follow format. By the end, you'll be equipped to confidently implement event handling in your React...


Sep 23, 2024

Learn how to build a cool scroll-snap feature in Next.js using Tailwind CSS!

 

Final Code: https://github.com/coderyansolomon/scrollsnap


Sep 19, 2024

Topics Covered:

  • What is an event?
  • How are event handlers typically passed?
  • Calling a function rather than passing a reference to a function
  • But what if you need to pass arguments?
  • When possible, I like creating functions outside of the component so I can test them a bit easier via exports


Sep 16, 2024

Today, I discuss a helpful stragety that has helped improve my productivity as a software engineer while saving me some mental fatigue as well.