Amazing content, thank you. I finally understood why and how to use this pattern with your example.
@CodewithSloba7 ай бұрын
Glad it was helpful!
@yabancakali949 ай бұрын
Perfect video, I was struggling to get the concept but your video made it clear! Thanks!
@CodewithSloba7 ай бұрын
I'm glad you like it
@chillaxabhinav3 ай бұрын
Very good video and simple explanation. 🥳
@CodewithSloba3 ай бұрын
thanks
@codewithtae6637 Жыл бұрын
This sounds like something you would want to do early in a project. If you don't the refactor might be a nightmare!
@CodewithSloba Жыл бұрын
Yes absolutely, all design and architectural decisions should be made as early as possible. That’s why planning is so important
@_tanzil_10 ай бұрын
Thanks for the clear explanation with simple example.
@CodewithSloba10 ай бұрын
Glad it was helpful!
@beloaded3736 Жыл бұрын
Hvala veliko Slobo, dobro objasnjeno.
@CodewithSloba Жыл бұрын
Nema na čemu!
@yashwanthsrinivas11 ай бұрын
Thanks for the awesome video! One of the very few videos that explained this properly!
@CodewithSloba7 ай бұрын
I'm glad you like it!
@darshilvaria44110 ай бұрын
Great explaination!
@CodewithSloba7 ай бұрын
thanks!
@md.asifal-mahmud5952 Жыл бұрын
Nice.
@CodewithSloba Жыл бұрын
Thanks!
@frank136215 ай бұрын
Perfect thank you.
@CodewithSloba5 ай бұрын
You’re welcome
@ankushladani496 Жыл бұрын
Great ..❤
@CodewithSloba Жыл бұрын
thanks
@nicus15042 ай бұрын
Aren't you creating a circular dependency between ProductCard and ProductCardDescription? One of the rules in projects I work on is to never import anything from parent components.
@CodewithSloba2 ай бұрын
if there is a circular dependency I'm pretty sure it would crash.
@nicus15042 ай бұрын
@@CodewithSloba no, it won't crash, but you're creating a potential case that's hard to debug.
@CodewithSlobaАй бұрын
I see your angle
@zoki5388 Жыл бұрын
Da li mozes napraviti video na temu typescript i useContext & useReducer.
@CodewithSloba Жыл бұрын
useReducer sam vec napravio pogledaj video 25 iz ove serije. useContext je 12 video u ovoj seriji. Samo je ostao typescript to cu svakako odraditi u nekom od sledecih videa
@user-rv9kz9pk2c9 ай бұрын
Do you have an example of this but for render dinamically and those flags you defined at the start being properties of each element of an array? I dont get the concept if is not going to be used for just hardcoded stuff
@CodewithSloba7 ай бұрын
I don't have concrete example but this should give you just an idea
@user-zi4gy8nk6d Жыл бұрын
Thank you, but I do not like it
@CodewithSloba Жыл бұрын
Why not?
@user-zi4gy8nk6d Жыл бұрын
@@CodewithSloba The first version looked better. You create a component in one place and use it in many. Let it look messy in one place rather than everywhere else. This is purely my opinion and I could be wrong. (Translated by DeepL)
@CodewithSloba Жыл бұрын
@@user-zi4gy8nk6d The thing is that compound components doesn’t look messy, they are much cleaner. Sometimes more code means more readability. Also this way component implementation is much simpler and more protected from bugs and weird logic. Also it’s much more versatile