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

305
Vistas
What is the third parameter in SolidJSs createEffect function for?

just started playing around with SolidJS and taking a look at the
createEffect function.

export function createEffect<T>(
  fn: (v: T) => T,
  value?: T,
  options?: { name?: string }
): void;

I'm wondering what the third parameter is for and if I can access it somehow during the execution of the function being passed to createEffect. I do understand that the passed function is being called with the returned value of the last execution and that this value can be initialized with the second parameter, but what is the third parameter for?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Many of Solid's functions, such as createEffect, createSignal, createMemo ect, have an optional name property.

It's used for debugging purposes. Packages such as solid-debug utilize these names.

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