One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {
One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {
import { useEffect } from 'react' | |
export const useInfinitScroll = (selector: string, keepObserving: boolean = false, callback: Function) => { | |
useEffect(() => { | |
const target: Element = document.querySelector(selector) as Element; | |
// more options on https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer | |
const options = { | |
threshold: .5 | |
} | |
const handleIntersection = (entries: IntersectionObserverEntry[], observer: IntersectionObserver) => { |