-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
optimisationRefactoring, etc.Refactoring, etc.
Description
Recoil is used for the client-side Verida state (conected user).
We don't use recoil anywhere else at Verida.
This type of client-side global state is handle by useState in a React context as seen on Verida Missions and the web Vault.
When needed, use a similar implementation (can likely copy/paste from the Vault).
Other usage of Recoil are unnecessary if the feature is implemented in a more optimised way.
The search, for instance, is because the implementation split the UI components is two different locations, that should not be necessary given the design.
The "setup wizard" implementation has to be thought again, hopefully with the Next router to display the modal.
Metadata
Metadata
Assignees
Labels
optimisationRefactoring, etc.Refactoring, etc.