The Startup
Published in

The Startup

Do React’s hooks improve app performance?

In the React’s documentation, you may read:

Unlike componentDidMount or componentDidUpdate, effects scheduled with useEffect don’t block the browser from updating the screen. This makes your app feel more responsive. The majority of effects don’t need to happen synchronously.

I had one web app to upgrade, so it was an excellent opportunity to check whether the sentence above is right, especially about the “more responsive” part.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Piotr Pozniak

Piotr Pozniak

10 Followers

Helping businesses increase revenue and improve the accuracy of their cost estimations. Co-founder of The Beaverhead, solving challenges through custom software