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

170
Views
React Stytch no ha sido cargado

Recientemente pude implementar Stytch en una aplicación basada en React. La implementación es bastante simple y directa. Sin embargo, cometí un error que se convirtió en un gran obstáculo para mí.

Intenté buscar en Google para encontrar una solución, si no encuentro algo similar para poder depurarme, pero desafortunadamente no encontré ninguna. Y la gran sorpresa si el enlace de repositorio Stytch GitHub proporcionado en NPM también es inválido.

El problema al que me enfrento es que dice:

 Stytch has not been loaded. Make sure the script tag exists in the document head: <script src="https://js.stytch.com/stytch.js"></script> If using Next.js be sure to load Stytch using the beforeInteractive strategy in pages/_app.jsx: import Script from 'next/script'; <Script src="https://js.stytch.com/stytch.js" strategy="beforeInteractive" />

Estoy siguiendo el documento de Stytch aquí: https://stytch.com/docs/sdks/javascript-sdk/email-magic-links/methods

Y creó una aplicación de muestra aquí: https://codesandbox.io/s/react-stytch-login-auth-xmf5r4

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

aquí está el enlace solo instale @stytch/stytch-react usando npm.

en el cuadro de código puede agregar a través de la pestaña de dependencias. solo asegúrese de incluir la etiqueta del script en public/index.html .

about 4 years ago · Juan Pablo Isaza Report
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!