Looking at Advanced React Patterns
React is weird... Hopefully this can add some neat pattern to your collection!
Honestly speaking, react patterns are kinda weird. The pattern that we use in React doesn't come as naturally. Which is why I created this article. My main goal is to let you know that this pattern exists.
In this article, I covered 4 patterns:
Component with Context
Function as Child
Forward Ref
Higher-Order Components