问题 I am trying to build my gatsby project but I am unable due to the IntersectionObserver not being recognised. I use the intersectionObserver inside an InView component: import React, { useRef, useState, useEffect } from 'react' const InView = ({ children }) => { const [boundingClientY, setBoundingClientY] = useState(null) const [direction, setDirection] = useState(null) const [element, setElement] = useState(null) const [inView, setInView] = useState(false) const observer = useRef(new