github spaansba/ForesightJS V2.2.2

latest releases: V3.3.2, V3.3.1, V3.3.0...
4 months ago

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 returns isLimitedConnection and isRegistered next to the previous isTouchDevice for if an element is not registered

Docs

  • Docs now finally have an official useForesight hook for react applications.
  • Altered the next.js and react-router integrations to use the new useForesight hook

Don't miss a new ForesightJS release

NewReleases is sending notifications on new releases.