Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Refactor GroupStores into one global GroupStore #1866

Merged
merged 4 commits into from
May 1, 2018

Conversation

lukebarnard1
Copy link
Contributor

Take a step closer to a flux-like architecture for group data, for
the purposes of providing features that require it.

Now the app has a single GroupStore that can be poked to fetch
updates for a particular group.

Take a step closer to a flux-like architecture for group data, for
the purposes of providing features that require it.

Now the app has a single GroupStore that can be poked to fetch
updates for a particular group.
@lukebarnard1
Copy link
Contributor Author

Looks like the GroupPublicityToggle is setting state when unmounted

@lukebarnard1 lukebarnard1 assigned lukebarnard1 and unassigned dbkr May 1, 2018
@lukebarnard1 lukebarnard1 assigned dbkr and unassigned lukebarnard1 May 1, 2018
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks plausible, although presumably this will cause all the groups info we fetch to be cached in memory until restart? May be OK for now I guess.

@dbkr dbkr assigned lukebarnard1 and unassigned dbkr May 1, 2018
@lukebarnard1
Copy link
Contributor Author

lukebarnard1 commented May 1, 2018

Actually that's not good, all data should be fetched when we view a group.

EDIT: It is fetched, it's just never removed, and I think that's fine.

@lukebarnard1 lukebarnard1 merged commit 6ec9e5f into develop May 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants