Statefull vs Stateless Performance #17421
-
is there any performance difference between stateful and stateless component? is there any speciality that cannot be used with stateful but can be used with stateless and vice versa? thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No. Using a stateful or stateless component won't affect your performance so you don't to worry about it. What you're rendering is what affects your performance.
No. Something I recommend is using Functional Components over Classes, that can make a difference as it makes you more bulletproof for future React improvements and releases |
Beta Was this translation helpful? Give feedback.
No. Using a stateful or stateless component won't affect your performance so you don't to worry about it. What you're rendering is what affects your performance.
No.
Something I recommend is using Functional Components over Classes, that can make a difference as it makes you more bulletproof for future React improvements and releases