Even when I make videos showing how it is, and using the official docs as support, they still don't get it
So here's a couple of the most important things you need to know about how React works
Even when I make videos showing how it is, and using the official docs as support, they still don't get it
So here's a couple of the most important things you need to know about how React works
This will cover all the essentials like JSX, components, state, hooks, etc
It won't cover 3rd party libraries (RQ, forms, state management) since those will be in other courses
What topics do you want to see?
This will cover all the essentials like JSX, components, state, hooks, etc
It won't cover 3rd party libraries (RQ, forms, state management) since those will be in other courses
What topics do you want to see?
The videos are SO GOOD. Literally my best work
First course is on design patterns in React, and I promise you, you haven't seen most of these patterns
I'm beyond excited to launch this
The videos are SO GOOD. Literally my best work
First course is on design patterns in React, and I promise you, you haven't seen most of these patterns
I'm beyond excited to launch this
Building small components makes your apps simple, maintainable, and scalable
You can still have complexity, but it will be much easier to manage with small pieces
The best code is simple code
Building small components makes your apps simple, maintainable, and scalable
You can still have complexity, but it will be much easier to manage with small pieces
The best code is simple code
First impressions, it's mostly the same, but the tab complete is inferior
You really feel it when trying to tab complete a lot of files
Pricing is better though so idk
First impressions, it's mostly the same, but the tab complete is inferior
You really feel it when trying to tab complete a lot of files
Pricing is better though so idk
Instead of:
setCount(count + 1)
Do:
setCount(prev => prev + 1)
The function version always gets the current state. Helps avoid bugs with stale values
Instead of:
setCount(count + 1)
Do:
setCount(prev => prev + 1)
The function version always gets the current state. Helps avoid bugs with stale values
Instead of:
console.log(user)
console.log(posts)
Do this:
console.log({ user, posts })
You get labeled output in the console. Makes it way easier to track what's what when you have multiple logs
Instead of:
console.log(user)
console.log(posts)
Do this:
console.log({ user, posts })
You get labeled output in the console. Makes it way easier to track what's what when you have multiple logs
This is when you call a state updater function directly in the body of the component as its rendering
React will abandon the render and start again with a new value
Here's an example
This is when you call a state updater function directly in the body of the component as its rendering
React will abandon the render and start again with a new value
Here's an example
Outside of that, it just gets in my way
No matter the model or the tool that I use
Outside of that, it just gets in my way
No matter the model or the tool that I use
This hook finally fixes one of the biggest problems that developers face when it comes to effects and dependency arrays
Finally, we can put this issue to rest and focus on shipping actual features
Here's how it works
This hook finally fixes one of the biggest problems that developers face when it comes to effects and dependency arrays
Finally, we can put this issue to rest and focus on shipping actual features
Here's how it works
This is by far the best course on this topic. Nothing else compares
Most other articles/courses repeat the same 5 outdated patterns over and over again
My course goes deep, and shows you patterns you can use today
This is by far the best course on this topic. Nothing else compares
Most other articles/courses repeat the same 5 outdated patterns over and over again
My course goes deep, and shows you patterns you can use today
Most developers quit right before they would have succeeded
The difference isn't talent, it's just staying in the game a bit longer
Most developers quit right before they would have succeeded
The difference isn't talent, it's just staying in the game a bit longer
It gives you all of the benefits of a reusable function, while keeping the flexibility of how you might use it
Here's the code:
It gives you all of the benefits of a reusable function, while keeping the flexibility of how you might use it
Here's the code:
A lot of developers don't know this fundamental difference
Here's what's different and why you want to use a ref most of the time
A lot of developers don't know this fundamental difference
Here's what's different and why you want to use a ref most of the time
It seems that letting the AI do 100% of the teaching might not be enough
I decided to add videos to every lesson where I also teach, to keep the human touch
This way, you get the best of both worlds
It seems that letting the AI do 100% of the teaching might not be enough
I decided to add videos to every lesson where I also teach, to keep the human touch
This way, you get the best of both worlds
I use Claude for direct tasks that don't have ambiguity (e.g. create a new page using same patterns)
I use GPT-5 for deeper tasks where you need to figure out how to do something before doing it
Works great for me
I use Claude for direct tasks that don't have ambiguity (e.g. create a new page using same patterns)
I use GPT-5 for deeper tasks where you need to figure out how to do something before doing it
Works great for me
I can expose my component ref to a context, and call any function on that component from anywhere
It's useful when you have have some state that isn't global but you want to change it from somewhere else
I can expose my component ref to a context, and call any function on that component from anywhere
It's useful when you have have some state that isn't global but you want to change it from somewhere else
The component model changed the way I build apps
You can literally build anything if you know what you're doing
Sure it has a learning curve, but it's so worth it
The component model changed the way I build apps
You can literally build anything if you know what you're doing
Sure it has a learning curve, but it's so worth it
This is a bold move, and it can play both ways
Either it's innovative and users will adapt and use it
Or I'm completely wrong and it flops
This is a bold move, and it can play both ways
Either it's innovative and users will adapt and use it
Or I'm completely wrong and it flops
◆ You probably know more than you think
◆ Everyone googles basic stuff (yes, even senior devs)
◆ Your questions make the team better
The fact that you care about doing well means you're exactly where you should be
◆ You probably know more than you think
◆ Everyone googles basic stuff (yes, even senior devs)
◆ Your questions make the team better
The fact that you care about doing well means you're exactly where you should be
This is not the case. Refs are really useful for a ton of other things
You should be using useRef in your application more than you might think
Here is the power of refs
This is not the case. Refs are really useful for a ton of other things
You should be using useRef in your application more than you might think
Here is the power of refs
AI now keeps track of the tasks you've completed for each lesson
The lesson will be complete when all tasks are done
This means you can submit your code for partial feedback
So far, it never got it wrong
AI now keeps track of the tasks you've completed for each lesson
The lesson will be complete when all tasks are done
This means you can submit your code for partial feedback
So far, it never got it wrong
I see many developers use useMemo and useCallback for every variable and function
This is inefficient, time-consuming, and ultimately useless most of the time
@tkdodo.eu wrote a really nice article about this
I see many developers use useMemo and useCallback for every variable and function
This is inefficient, time-consuming, and ultimately useless most of the time
@tkdodo.eu wrote a really nice article about this
Kinda like when in school they made you write essays in detention
If they ever revolt, they're coming for me first
Kinda like when in school they made you write essays in detention
If they ever revolt, they're coming for me first