Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

101
Vistas
new URLPattern raises error in react "'URLPattern' is not defined"

I am trying to use the URLPattern browser api inside of my react app and I am getting an error Line 9:19: 'URLPattern' is not defined no-undef

the breaking code

const p = new URLPattern('https://example.com/foo/:image.jpg?*#*');

What are my doing wrong? My browser supports this feature.

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos