Numbers of common use cases with React.
Note that this repo is not a software, it is a collection of common use cases that implementd by React.
- Higher-order-component (higher-order-function)
- forward ref to obtain a element
- React.createPortal to show a modal
- With Render props
- React.createContext to change the theme