Skip to content

Releases: cesbit/vlow

1.1.26

08 Oct 10:31

Choose a tag to compare

  • Fixed reference to index.d.ts.

1.1.24

08 Oct 08:56

Choose a tag to compare

  • Improved typing

Actions and Stores with a typed state can now be created like this:

// represends the state on the store, e.g. this.state.todos
export interface IMyStore {
    todos: string[];
}

class MyStore extends Vlow.Store<IMyStore> {
    onFetch() { /* fetch todo's... */ }
}

const actions = [
    'fetch',
] as const;
const MyActions = Vlow.factoryActions<MyStore>()(actions);
// MyActions.fetch() understands the arguments of the `onFetch` defined in the store

1.1.23

02 Oct 09:22

Choose a tag to compare

  • Fix unregister

1.1.22

25 Sep 12:24

Choose a tag to compare

  • Fixed bug in stop listener

1.1.21

24 Sep 13:37

Choose a tag to compare

  • Update Babel

1.1.20

24 Sep 12:14

Choose a tag to compare

  • Update packages

1.1.19

24 Sep 11:00

Choose a tag to compare

  • Update dependencies.
  • Add listenersEmpty(): void event callback function which may be implemented for when all components to a store are disconnected.
  • Added unregisterStore() which must be called manually, for example in listenersEmpty to un-register a store without listeners.
  • Update vlow.d.ts with improved signatures.

1.1.17

14 Jun 13:25
b05b50a

Choose a tag to compare

  • Updated dependencies.
  • Added vlow.d.ts.

1.1.16

30 Sep 08:27

Choose a tag to compare

  • Update terser from 5.10.0 to 5.14.2, pr #14

1.1.15

07 Jun 13:00

Choose a tag to compare

  • update index.d.ts and export withVlow