Features
- ForesightJS will now respect the user's data-saver settings by not registering the element if enabled
- ForesightJS will now not register elements if the user is on 2G internet connection
ForesightManager.instance.register()now returnsisLimitedConnectionandisRegisterednext to the previousisTouchDevicefor if an element is not registered
Docs
- Docs now finally have an official
useForesighthook for react applications. - Altered the next.js and react-router integrations to use the new
useForesighthook