Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Refactor loading flag logic #2

Open
pstahmer opened this issue Sep 25, 2020 · 0 comments
Open

Refactor loading flag logic #2

pstahmer opened this issue Sep 25, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pstahmer
Copy link
Contributor

The loading flags we use work with minimal dev effort, but to get there the code became harder to understand than anticipated. Additionally it is strongly dependent on naming patterns within the actions to work, which makes it a bit brittle.

Instead let's move towards a more unified store object which can hold both loading status and the data itself. Additionally if we later add a central error approach this could be folded into the model as well.

@pstahmer pstahmer added the enhancement New feature or request label Sep 25, 2020
@pstahmer pstahmer self-assigned this Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant