Skip to content

Remove use of recoil #141

@aurelticot

Description

@aurelticot

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions