realar-project / realar

5 kB Advanced state manager for React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

article ideas: beautiful construction)

betula opened this issue · comments

export class Locale {
  @prop times = 0;
  @prop loaded = false;

  constructor() {
    signal
      .from(() => this.times)
      .flow.filter(() => this.loaded)
      .watch((times) => {

      });

    this.load();
  }
export class Locale {
  @prop times = 0;
  @prop loaded = false;

  constructor() {
    signal
      .from(() => this.times)
      .filter.track(() => this.loaded)
      .to((times) => {

      });

    this.load();
  }

0.6.0
Found no use for this example