Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
My gist
// Omitted export stuff, this is just to pass the ideia of what i'm trying to accomplish
class MyAction {
async updateParticipants() {
const response = await axios.get("some/url/participants");
class MyStore {
constructor() {
this.participants = [];
// This isn't being called when updateParticipants action finishes...
onUpdateParticipants(participants) {
this.participants = participants;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment