Software engineer & creator of internet things. Node.js aficionado since 2011, React lover since 2014.
Head of solarwallet.io at SatoshiPay (satoshipay.io).
Thanks for sharing. Unfortunately it's not completely true anymore.
Since React hooks are now a thing, functional components can be stateful and have a lifecycle just as well. Furthermore class-based components can also be stateless (if all they have is a render method, but of course it would only be reasonable to turn them into a functional component then).
The post is rather describing class-based components vs functional components.
There is nothing wrong about describing that, but the concept class=stateful and function=stateless is now a thing of the past ;)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for sharing. Unfortunately it's not completely true anymore.
Since React hooks are now a thing, functional components can be stateful and have a lifecycle just as well. Furthermore class-based components can also be stateless (if all they have is a render method, but of course it would only be reasonable to turn them into a functional component then).
The post is rather describing class-based components vs functional components.
There is nothing wrong about describing that, but the concept class=stateful and function=stateless is now a thing of the past ;)