ohansemmanuel/polymorphic-react-component
حول
Companion repo for my build a polymorphic React component class
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل
Polymorphic: occurring in several different forms, in particular with reference to species or genetic variation...
How to read the code
Read the implementation snippets from 01 to 06
01: A basic polymorphic component implementation
02: Handling relevant component props:
03: Providing a default generic type:
04: Handling unique component props
05: Building a reusable polymorphic type utility
06: Handling polymorphic components with Ref
Relevant Links
Watch me teach this course on Udemy
Presentation on Excalidraw (open in incognito to not override your current drawings )
Read more
- Polymorphic components in the wild: Chakra UI and Material UI
- JSX: Choosing type at runtime
- Typescript Generics
- Typescript Generics and arrow functions:
- Why color appears as HTML attribute on a div?
- React Ref: Forwarding Refs
Download the accompanying ebook and receive my 5-day typescript secrets newsletter

You'll automatically receive my 5-day newsletter to get you thinking and writing Typescript like a pro 🕺
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…