filmov
tv
React Signals tutorial - practical guide

Показать описание
In this video, we're looking at the new state management library called Signals from the Preact team. The concept of Signals was perhaps introduced in Solid JS for how it handled reactivity for components. In any case, this is good news that Signals are now available in React which makes state management SO EASY!
In this video, we look at what signals are. We use a really simple VITE + React app first to convert the counter component to use Signals instead of the useState() hook from React. Then we also look at what a computed property is from the React Signals. After that, we jump to a more complex, real-world project example to see how we can easily use Signals to manage state in our React Apps.
.
.
If you watched the whole video, comment in the chat "I've seen it all :D"
If you like the video, don't forget to hit the 👍 button. Also, subscribe if you haven't already :)
✨Sign up at Rapid API Hub ✨
📚 FREE BEGINNERS PROGRAMMING COURSES:
📚 Angular Cookbook:
An amazing treat for all Angular engineers regardless of their years of experience. More than 80 recipes to follow.
🎥🎤📷 GEAR for Content Creation (contains affiliate links) 🎥🎤📷:
❤️❤️ Become a Supporter at Patron (because you're awesome):
❤️ Support the CodeWithAhsan community One-Time-Only:
🎥 Live Streams / Free sessions:
Timeline:
00:00:00 - Introduction
00:00:30 - Creating a new React & Vite app
00:02:09 - Basic example of Signals with React
00:06:27 - Real-world example of Signals with React & Tailwind CSS
In this video, we look at what signals are. We use a really simple VITE + React app first to convert the counter component to use Signals instead of the useState() hook from React. Then we also look at what a computed property is from the React Signals. After that, we jump to a more complex, real-world project example to see how we can easily use Signals to manage state in our React Apps.
.
.
If you watched the whole video, comment in the chat "I've seen it all :D"
If you like the video, don't forget to hit the 👍 button. Also, subscribe if you haven't already :)
✨Sign up at Rapid API Hub ✨
📚 FREE BEGINNERS PROGRAMMING COURSES:
📚 Angular Cookbook:
An amazing treat for all Angular engineers regardless of their years of experience. More than 80 recipes to follow.
🎥🎤📷 GEAR for Content Creation (contains affiliate links) 🎥🎤📷:
❤️❤️ Become a Supporter at Patron (because you're awesome):
❤️ Support the CodeWithAhsan community One-Time-Only:
🎥 Live Streams / Free sessions:
Timeline:
00:00:00 - Introduction
00:00:30 - Creating a new React & Vite app
00:02:09 - Basic example of Signals with React
00:06:27 - Real-world example of Signals with React & Tailwind CSS
Комментарии