|
|
|
|
|
by juanger
3624 days ago
|
|
not exactly harmful, but in the docs they promote stateless functions by saying: "In an ideal world, most of your components would be stateless functions because in the future we’ll also be able to make performance optimizations specific to these components by avoiding unnecessary checks and memory allocations. This is the recommended pattern, when possible." See https://facebook.github.io/react/docs/reusable-components.ht... |
|
However, state is something on the whole that's required more often higher than lower in your architecture.
I'm pretty sure that's what they're talking about here. Hope that helps.