element-hq / element-hq/element-web

Consolidate state management

Open
#23,543 1 comment 0 reactions 0 assignees View on GitHub
A-Developer-Experience A-Technical-Debt T-Epic T-Task
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

## Why?

In-memory state is held in a variety of stores following different patterns. This makes it hard to reason about the code, complicates changes and prevents multi-account support.

## What?

We’ll devise a unified pattern for storing state and migrate all existing stores to the new system.

## Plan

```[tasklist]
### Tasks
- [ ] Convert remaining stores (probably need subtask for each one)
- [ ] Remove `SdkContextClass.instance`
```

## Internal references

myhours: https://app.myhours.com/#/projects/2028403/overview

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.