Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Context effects handle user switch #389

Open
celian-rib opened this issue Dec 16, 2022 · 0 comments
Open

Context effects handle user switch #389

celian-rib opened this issue Dec 16, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@celian-rib
Copy link
Contributor

celian-rib commented Dec 16, 2022

Les contexts et autres endroits de l'app utilisent des useEffects dependant de user en partant du constat suivant :

  • Soit user est null
  • Soit user est plein et ne changera

Or user peut etre refresh (user -> meme user reference obj differente)
ou user peut meme etre changé (user -> null -> autre user)

Les cycles de vie des contexts / composant ne sont pas suffisamment robuste face à ces changements

@celian-rib celian-rib added the bug Something isn't working label Dec 16, 2022
@celian-rib celian-rib self-assigned this Dec 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant