Browser
Hyper Fetch is configured to work in a browser environment out-of-the-box. This means you can integrate it into any browser-based application without any initial setup.
With no additional configuration, Hyper Fetch will automatically handle the browser environment and mixed environments.
See more
This is how we handle the browser environment. You can use this as a reference to implement your own set of rules for the events.
Online / Offline status handling
The default events that handle online/offline status in the library are based on the events available in the web browser environment. To use mobile device solutions, you can change the code responsible for handling the connection status.
Focus / Blur state handling
The default events that handle focus/blur state in the library are based on the events available in the web browser environment. To use mobile device solutions, you can change the code responsible for handling the focus/blur state.