This repo implements the examples of popular React patterns written in TS. Look at the components directory to find popular patterns by name. Each director attemps to implement both class and functional component for each pattern.
Patterns available: Compound pattern Context with reducer Flexible compound component HOC Optimized context state Provider pattern Render props & render as children as function