4 ms·
The reason that 90% of the component code is in the render function is because everything else has been moved out to actions & reducers. Sorry I didn't make t
by bryanlarsen 11y ago
The reason that 90% of the component code is in the render function is because everything else has been moved out to actions & reducers. Sorry I didn't make that clear.
And I'm firmly in the "lots of tiny little components" camp, so I don't have any large render functions. That's also another reason I'm not going to adopt the pattern the OP suggests -- that pattern uses 3 files per component.