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

134
Vistas
How to get "scoped slot" behaviour in web components?

I am looking closely at lit to make a cross-framework component library but to be a viable option I need a way to obtain the result of something like Vue's scoped slots or React render functions so I can share the state saved in lit with the components that the users will code with their favorite framework.

Any idea on how to achieve something like this:

<my-awesome-lit-list>
       <UserReactComponentSingleRow {...stateFromMyAwesomeLitList} />
</my-awesome-lit-list>

Being able to have the lit component handling the logic and only pass the correct props to the child component from another framework would be the holy grail of framework interoperability. In the example the user could provide a custom Row component with his framework of choice. I know this specific syntax is not achievable, but I was wondering if there are alternative patterns to obtain the end result.

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