Great tips! I agree with pretty much everything, separating your business/ui logic in a hook or a service and unit testing it is definitely the best thing you can do for your app. Maybe one thing I can add to this list is just being as minimalistic as possible. A lot of people tend do bloat up react apps, whether it's by adding not so needed npm packages or just these small little pieces of code that don't look big in a PR, bring little to no value and as time passes on infest your codebase. I always try to ask myself/the people I work with, do we really need X, can we get away without Y? The less code the better :)
Thanks for sharing your valuable experience with react. I think global state is a topic that is easily misused by beginners, do you have any tips on how to recognize when global state is needed?
Loll i made a calculation! I've been coding everyday in react for the past 6 years (job, youtube, personal businesses). Just for a project for a youtube vid i have to code on average 15 components, and i code the project twice. I have over 400 projects for youtube vids, thats already 12k not counting my full time job :)
nice video discussing small details from the experiences make more of these, explaining details/practices of other tech and its workflow patterns deeply -ts, nextjs-mern (full stack projects), industry based
I did the calculations 😎 I've been working with react for the past 6 years, i code everyday due to my job + youtube and i write multiple components per vid so it goes above 10k
Thanks, Pedro
Amazing advice
Good points !
Great tips! I agree with pretty much everything, separating your business/ui logic in a hook or a service and unit testing it is definitely the best thing you can do for your app.
Maybe one thing I can add to this list is just being as minimalistic as possible. A lot of people tend do bloat up react apps, whether it's by adding not so needed npm packages or just these small little pieces of code that don't look big in a PR, bring little to no value and as time passes on infest your codebase. I always try to ask myself/the people I work with, do we really need X, can we get away without Y? The less code the better :)
Good point! I tend to only use external packages if i feel like it will have a significant roi for my project!
Awesome, I am a big fan of all your videos, they are all very valuable.
Glad you like them!
I am building a yt clone full stack one currently working in frontend part and structure matters
After 10k components, I learned that AI can do it with 1 sentence of English.
(Slightly kidding)
0:55 You're pointing in the air, but I don't see any code. Forgot to edit that in?
Thanks for sharing your valuable experience with react. I think global state is a topic that is easily misused by beginners, do you have any tips on how to recognize when global state is needed?
cara, top demais!
You count the number of components you create, what?
Loll i made a calculation! I've been coding everyday in react for the past 6 years (job, youtube, personal businesses). Just for a project for a youtube vid i have to code on average 15 components, and i code the project twice. I have over 400 projects for youtube vids, thats already 12k not counting my full time job :)
thanks
nice video
discussing small details from the experiences
make more of these, explaining details/practices of other tech and its workflow patterns deeply
-ts, nextjs-mern (full stack projects), industry based
Pedro in the video the first time you said "this react component" no components appeared on the screen. Thanks for sharing your knowledge 💎
Sorry about that, editing mistake :/
💖💖
Your videos really helped to boost my journey 🚀💡 Could you please do a video on tRPC? 🙏✨
CAN you please do a MERN stack tutorial. Most of the tutorials are outdated completely for beginners
I have some but will post more!
@ thanks
Redux really be annoying
lol yes
@PedroTechnologies let me just stick to zustand, context api
10000 isn't possible lol,i believe within 100
I did the calculations 😎 I've been working with react for the past 6 years, i code everyday due to my job + youtube and i write multiple components per vid so it goes above 10k