Unhandled Runtime Error. TypeError: Cannot read properties of null(reading ‘useRef’)- NextJS App with React Scroll Parallax
I have built a simple website with NextJS (Typescript) Front-end and Express back-end (also Tailwind config). Everything was working fine until I tried to incorporate react-scroll-parallax and since I have received the following message:
(“unhandled runtime error: Typeerror: cannot read properties of null (reading ‘useRef’))