component-store-example
component-store-example copied to clipboard
How to do Omni/DataStore with original Flux Dispatcher?
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).
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?
@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.
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.