React Native application performance built with Expo

Asked

Viewed 429 times

0

I am developing a mobile application using React Native through the Expo but I have been finding a small "problem". I use my physical device (android) to carry out the tests through the Expo application and realized that when I activate the option "debug" my application presents a higher performance performance, running everything faster and without any bottleneck, but when the debug option is disabled the application does not display that same performance.. I wonder if this really should happen and how my app should perform in build.

1 answer

0

The solution is for apps created with React-Native-cli and Expo

Your question is really important! When the debug option is enabled in React-Native it can happen that the app gets a little slow using Google Chrome to debug. According to docuumentation some extensions may disrupt the performance of the application or cause errors and this can be fixed by disabling them.

A mess that the React-Native itself returns as Warning when the debug option is enabled is:

inserir a descrição da imagem aqui * The remote debugger is in a background tab, which can cause slow application performance. Fix this by focusing the tab (or opening it in a separate window).

That is, open the Debugger in a new window and the problem of "performance" in the app will be solved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.