Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
It's possible to create a global state, similar to redux ( maybe? ), that we can use to share date between components. Blocks now have to do their own requests, which is not very optimal if they share the same data .
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Hi,
I don’t think there’s a concept of "global state" in EDS. The whole idea is to keep it simple using JavaScript, so you should use native methods to share data across components. You could explore options like global JavaScript variables, session storage, local storage, etc.
Hope this helps
Vistas
Respuestas
Total de me gusta
Hi,
I don’t think there’s a concept of "global state" in EDS. The whole idea is to keep it simple using JavaScript, so you should use native methods to share data across components. You could explore options like global JavaScript variables, session storage, local storage, etc.
Hope this helps
Vistas
Respuestas
Total de me gusta
Hi @DianaGi
Please check similar thread at https://discord.com/channels/1131492224371277874/1148893229316587550/threads/1297830957566525581
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas