re: React Beginner Question Thread ⚛ VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hey Dan, Thanks for this thread it already answered few of my questions! Where I work we do separation of container and presentational components,...
 

We explicitly discourage it and will continue to. Your use case is solvable by composition just fine. Instead of overriding methods, have the “base” components take those functions as props. Then have the “concrete” components render it and pass their implementations of these methods.

code of conduct - report abuse