Live refactoring a subscribers React SPA anime application

preview_player
Показать описание
Just sharing some more refactoring with y'all. Enjoy.

------------

Рекомендации по теме
Комментарии
Автор

Stop excusing yourself for doing what you are doing. You are doing great, everything you've done in this refactor I would have done myself. Don't be so hard on yourself. Great video, keep them coming!

arditgashi
Автор

Great content, fun to watch someone more experienced going through his though process. Would love to see more! Would also love to watch other frameworks, and even some basic functions, like your shorts. Good stuff, love your voice for teaching.

ImSoFucktarded
Автор

These refactoring sessions are awesome to learn from, thank you so much!

Sapphiamur
Автор

This is really helpful for new programmers like me, it feels like a PR review. And lots of new insights

vaibhavgautam
Автор

Dammmnn bro, you always make very helpful videos about coding and way of working. Keep up

ishakzehhaf
Автор

Your videos are chill and informative, specially the live code refactoring streams. Love them!

AnshumanKP
Автор

At last someone experienced making a video

afaque.
Автор

One thing I would say is to use lowercased words separated by hyphens for css classes. So instead of heroContainer, make it hero-container.

dninja
Автор

I believe the problem was the missing “:” at 6:37 before the ${id}

Manjaco
Автор

Very useful hope you make more videos like this

NguyenLam-vznb
Автор

Great video idea man, learning a ton.

jordondax
Автор

Love to watch more of this kind of videos.

markangeloatienza
Автор

Love this type of content. I'm worse than you at coding, the only thing that came to my mind while you were refactoring is that it seemed that the random anime page was returning JSON detials for all the animes, which made the call to get the data again for individual anime seem a bit redundant. I think, in a perfect world, when opening the individual component I would've had something like an optional prop with data if I'm coming from the random anime page, if there is no prop then I make the request with the id.

BSimone
Автор

4:56 - I'd say, make an array of objects, which would include the path and the element that you want to render. Then, you would simply map it in the return statement.

stanimirdimitrov
Автор

React-router has GeneratePath method for generating paths with params . Better approach then GOTO usage.

turkeymoonrover
Автор

I love to watch videos like these <3

ProbablyArth
Автор

Nice video man. What extension shows the errors while you code?

mmareplays
Автор

I really love watch your videos and the way you think 🖤

xiiEJRAM
Автор

What Xcode theme, with font and text color scheme are you using

HarshPatel-uznm
Автор

Ive been having this bug when I login it goes into a infinite loop. It should go to a home page but its not. If I manually go to the other routes then the whole app works fine.

lalithrockz