Skip to content

Move into Class instance Store #21

@LeoBorai

Description

@LeoBorai

In order te introduce a classical encapsulation approach, provide a Class based implementation of the store.

export class NotificationStore {
  private notifications: Readable<INotification[]>;

  pushNotification(...);
  popNotification(...);
}

const store = new NotificationStore();
export default store;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

📋 Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions