arqex / freezer-redux-devtools

A bind to use redux-devtools in freezer-js apps.
MIT License
17 stars 4 forks source link

Strange behavior by pressing ctrl + h #1

Open kwoon opened 8 years ago

kwoon commented 8 years ago

When i press ctrl + h last reaction initiates two times. Example here.

With redux all works fine.

arqex commented 8 years ago

Hi @kwoon thanks for the feedback.

You have been fast testing it :) I will have a look at it later today.

arqex commented 8 years ago

I suspect your first action sport:leftSidebar:sports:load automatically calls the second one on success, isn't it?

The devtools sidebar is registering both reactions, but whenever it calls load to refresh the state a second success event is triggered and the success event gets duplicated.

We should have a way of marking reactions as dependent from others, so the devtool sidebar will never trigger them directly.

Do you think is this the case?