Barrier API
You will learn
In the previous chapters, we learned how to fetch data from the server and how to display it. Now let us talk about suspending the execution of Queries and Mutations based on some criteria.
This topic is quite practical, so we suggest learning it by examples:
- How to check if the users token is valid before data fetching and perform some actions if it is not
- How to pause the execution of a Query until the user accepts term of use
If you want to learn more about the Barrier API, you can read the API reference.