Leveraging TypeScript to Create Better Polymorphic React Components | by Chisom Okoye | Jun, 2022

Write flexible components Reusable components are one of the key concepts in React — where you write a component once and get to reuse them multiple times. Basically your component would receive some props, You then go ahead to use these internally and then finally render some React element which gets translated to the corresponding … Read more