Which one is advisable in react js
24 votes · Ended on 27:08:2020 08:47 AM
3.4K+ developers have started their personal blogs on Hashnode in the last one month.
Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more
"Companies on the cutting edge of React development like Facebook, Netflix, and Airbnb all readily use functional components. It seems pretty clear the upsides outweigh the negatives."
When should you NOT use functional components? When you have no other option.
I have read from REACTs official docs that functional components, when possible, are preferable as standard, can't find the exact page now, but you can see the site above explaining it very well.