Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

257
Vistas
Generating a unique className from a uuid?

50bdc59e-394c-449b-9808-5a912aa9b202, this is a uuid I tried to use as a className, but it didn't work, so I tried uuid.slice(20) and it worked, I don't know what are the restrictions for classNames, but it's not the dash, because upon doing slice(20) I noticed there was still a dash in the result, but now I am wondering if there's a short method for generating a unique className from a uuid. Now, if there's no solution that's robust, I thought about splitting the uuid into two and inject a className prefix and suffix, but I want to avoid that at all cost.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda