equinor / webviz

Mozilla Public License 2.0
6 stars 9 forks source link

Refactor modules to use Jotai atoms #695

Open jorgenherje opened 3 months ago

jorgenherje commented 3 months ago

When https://github.com/equinor/webviz/pull/679 is closed, the StateStore is removed, and Jotai atoms are introduces in every Module.

Refactor modules to remove usage of React.useEffect in settings/view code and extract business logic from the settings/view code according to "new" standard. Goal is to have baseAtoms, derivedAtoms and queryAtoms and more "clean" component code.


Modules needed to be refactored (add more if some are missing):