0.11.2 • Published 4 years ago

@wazapp/tracking v0.11.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@wazapp/tracking

Wazapp is using MobX for state management. It re-exports its functionality as well as observer from mobx-react.

Please Note! For convenience purpose MobX's action has been re-exported as action.bound

Example of usage

import Component from "@wazapp/component";
import { observable, action } from "@wazapp/tracking";

export default class Todos extends Component {
  @observable todoItems: []

  template() {
    return (
      <div>
        <CreateForm onCreate={this.addTodo} />
        <TodoList todoItems={this.todoItems} />
      </div>
    );
  }

  @action
  addTodo(todoItem) {
    this.todoItems.push(todoItem);
  }
}
0.11.2

4 years ago

0.11.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.3.1

4 years ago

0.1.0

4 years ago