0

How react-native is managing threads?

How to achieve good performance without any jerking when executing multiple backend api calls?

Can i create my own threads? And do background tasks like backend api calls?

I have used apisauce with redux-saga so what happens if i execute many backend api calls simultaneously?

It blocks some times but sometimes app runs smooth.

1 Answer 1

1

JS does not have threads. Like you said, if you have many processes going on, then performance will suffer. If you need to do that, I suggest making a native module probably, that way you can actually have threads and communicate with the JS thread that handles the presentation.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.