
React encourages people to use special prop children for the container which has unknown children components. For example, Sidebar or Dialog. And avoid component inheritance as much as you can. React doc says it. Especially, component composition hel...
Human learning
🇻🇳
Markdown supported · ⌘↵ to post
No responses yet.