3 ms·
You can and should still write mostly pure functional components. The difference for me is that I don't need a container component to manage state and side effe
by schwartzworld 5y ago
You can and should still write mostly pure functional components. The difference for me is that I don't need a container component to manage state and side effects now. I can abstract those behaviors into hooks and test them in isolation.