February 4, 2021
If you've ever created a complex reusable React component, one of the first questions you probably got asked is how it can be extended, right?
The immediate solution will be to provide props as extension points for the component but we will soon realize that no matter the amount of props we provide there is always going to be a case we forgot to cover.
There is a better way of solving that problem -> React Context.
Join 10,000+ Developers, No Spam. EVER