Open chpill opened 7 years ago
While looking at #1, I also noticed a problem with the effects that are registered in https://github.com/Day8/re-frame/blob/cf61b2db1da360687c6b247888b29fb58bedf7cb/src/re_frame/fx.cljc
:dispatch :dispatch-later and :dispatch-n all use the global dispatch. :deregister-event-handler uses the global registry.
:dispatch
:dispatch-later
:dispatch-n
:deregister-event-handler
So we will also need to swap them with "local" version when we instanciate a frank...
frank
The solution here will depend on what comes out of #1
https://github.com/chpill/re-frankenstein/commit/c3e28389c840305f1a4686628e1a19c111e08689
While looking at #1, I also noticed a problem with the effects that are registered in https://github.com/Day8/re-frame/blob/cf61b2db1da360687c6b247888b29fb58bedf7cb/src/re_frame/fx.cljc
:dispatch
:dispatch-later
and:dispatch-n
all use the global dispatch.:deregister-event-handler
uses the global registry.So we will also need to swap them with "local" version when we instanciate a
frank
...The solution here will depend on what comes out of #1