0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

react + fluxxor で "An action of type **** was dispatched, but no store handled it" と怒られた

Posted at

react + fluxxor でごにょごにょしている時に、以下のWarningが出てきてイベントが正しくハンドルされなかった。

An action of type send-chat was dispatched, but no store handled it

結構悩んでたのにクソ凡ミスだった。

Store内でbindActionsする時に該当のイベントを入れ忘れていた。。。

// ↓これの引数に入れてなかった。
this.bindActions(
    constants.START_SELECT, this.onStartSelect,
    constants.END_SELECT, this.onEndSelect
);

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?