Skip to content
Discussion options

You must be logged in to vote

is there any performance difference between stateful and stateless component?

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.

is there any specialty that cannot be used with stateful but can be used with stateless and vice versa?

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@conquera99
Comment options

Answer selected by lfades
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants