Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

336
Views
¿Cómo usar locomotora-desplazamiento en NextJS?

Quiero embellecer mi proyecto usando locomotora-desplazamiento en mi aplicación nextjs. Pero sigo recibiendo el documento de error no definido. ¿Como puedo resolver esto?

En resumen, esto es lo que necesito saber.

¡Gracias desde ya!

 import React, { useEffect } from "react"; import locomotiveScroll from "locomotive-scroll"; function App() { const scrollRef = React.createRef(); useEffect(() => { const scroll = new locomotiveScroll({ el: scrollRef.current, smooth: true }); }); return ( <div className="scroll" ref={scrollRef}> <h1 data-scroll data-scroll-speed="3" data-scroll-position="top"> Locomotive Scroll in React </h1> </div> ); }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!