{ this.setState({ visible: entry.isIntersecting }); }); }; entry has multiple properties https://mzl.la/2Yv0P7F In the demo we only use: intersectionRatio => int isIntersecting => boolean
of doing things We will look the code in the demo navigator.bluetooth.requestDevice({ filters: [{ services: ["battery_service"]}] }).then((device) => { use device };