AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Seven Lessons of React Development
As much as possible, I like for my React components to just be JSX. We recommended a lot more of decoupling concerns. People in a race to not repeat themselves would actually make code that was more tightly coupled. And this is no different than the conversation around functions. When is it makes sense to have two separate? Well, I could add another argument, or should I extract a function and do that? That's what we're trying to get at here.