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

96
Vistas
In redux how to make the data non volatile

I am using redux So i have the user input their credentials and login after login I update the state but if the page refresh the data of state in lost which should not be done how can I make it non volatile the second thing I want some ui to not display If the user logged in i have google about it but the imports they are telling here are not working anymore

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

0

Maybe u can wrap the content u don't want to render inside Curly Braces and do a 
check if you're Condition is true or false for example: 
{!isNotLoggedIn ? // content you want to show : return null }

It should only display the content when the User is Not Logged in, otherwise it returns nothing. And for the other Problem, i would try to save the State in the localStorage or Session Storage. Or otherwise send it to a server.

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