What is the simple way to avoid to call a rest api more time. Let me explain better. If i call the rest apii in onAppear, the call is fectched more time, when appear, when move on the next page and so on. If i call in Component.oncompleted it’s called one time (when the component it created). In the past i created complex solution to avoid this, but i’d like a simple solution.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.