component-store-example icon indicating copy to clipboard operation
component-store-example copied to clipboard

How to do Omni/DataStore with original Flux Dispatcher?

Open susu opened this issue 8 years ago • 3 comments

I see you use Reflux, but how can I create that central DataStore with Flux? I mean I eventually will run into "cannot dispatch in the middle of a dispatch"-problem when I try to modify the DataStore via action (from another store).

susu avatar Sep 10 '15 12:09 susu

That is what I am missing too here. I watched your React talk from 2015 and looked into this repo. But I cannot find that central OmniStore instance. I also looke dinto N1 but couldn't find a central store their too... Would really like to get some information from you :( I am quite new to Javascript and React and would really love to implement a plugin structure.

@susu Did you solve this?

mainrs avatar Jan 06 '17 14:01 mainrs

@SirWindfield I went into different way. I've written a dependency injection framework called dinja (https://github.com/susu/dinja), it solved my problem, but YMMV, you might need different kind of plugin architecture.

susu avatar Jan 06 '17 14:01 susu

I am mostly looked into one that does something similar to N1, Atom and VSCode. It enables custom components to be rendered into the DOM and include new features.

mainrs avatar Jan 06 '17 16:01 mainrs