There are a lot of ways to reuse logic in React apps. We can also write components (which themselves could be functions or classes). This is how we end up with complex patterns like render props and higher-order components. We need to take a step back and think about code reuse. There are challenges that we are currently facing.
3 Impressions5 Comments