React TypeScript Tutorial - 24 - Polymorphic Components

preview_player
Показать описание

📱 Follow Codevolution

Polymorphic Components with React and TypeScript
React TypeScript Tutorial on Polymorphic Components
Рекомендации по теме
Комментарии
Автор

I have to say that this is the hardest one to keep up with because it combines much of what we have already learned implemented in a complex manner. Thank You, for sharing this with such a detailed example...

StaceyWilsonlosangeles
Автор

This playlist helped me a lot a few months back when I started at a new company using React + Typescript. Thank you so much

SimPwear
Автор

Very very strong tutorials please continue more and advanced tutorials like these .. thank you

sky
Автор

After 3rd time I completely understood...but you are awesome brother..

ashishnayak
Автор

It's indeed super complex. 😅😅. Thanks for the explanation.

conaxlearn
Автор

Thank you So much
You are a great Teacher🙏

tejaswinishetty
Автор

Thanks alot man for the series. Very helpful

authenticnaturalnoises
Автор

this one is little difficult to understand :) - regarding the name collision. Thanks for bringing up this tutorials, they are very helpful

thambimoirangthem
Автор

nice video, thanks... but you forgot something: you should destructure a ...rest prop like you did in a previous video and pass it to the Component because now if you add for example a htmlFor attribute typescript doesn't throw an error but the functionality for a label doesn't work.

mahanmahmoodi
Автор

awesome typescript tutorials thank you

mathewuy
Автор

excellent explanation thanks for sharing

deepakvijayan-vc
Автор

damn... i don't even know you could do this in plain js! i just start learning react :)

roym
Автор

how to restrict the element type to only texts type like headings and paragraphs?

kuchbhi-gr
Автор

TS is happy again but maybe JS is ever happy

hasgotech
Автор

Nice, but what if need access to ref? I mean forwardRef polymorphic component.

sshmyg
Автор

Type '{ children: ReactNode; className: string; }' is not assignable to type 'LibraryManagedAttributes<E, any>' Getting this error please help

\\

pranaydwivedi
Автор

Hmmm...Interesting example of polymorphism. I feel like this particular example isn't very useful, though.

nicknelson