React - UI components
UI components are the main blocks that build your application views. They should be created so they can be easily composed and extended
Extendable components
I know that I should create UI components so they extend standard DOM Elements props and pass them to main element.
I combine className property so the component can be extended with new class without overriding existing styles
I remember also to provide refs to the root element
(Un)controlled components
I know how to create components that maintain their own state but can be controlled optionally from the parent component
Accessability support
I remember to create my custom ui components based on Web Content Accessibility Guidelines
I know that I should create UI components so they extend standard DOM Elements props and pass them to main element.
I combine className property so the component can be extended with new class without overriding existing styles
I remember also to provide refs to the root element
I know how to create components that maintain their own state but can be controlled optionally from the parent component
I remember to create my custom ui components based on Web Content Accessibility Guidelines