Open Nantris opened 2 years ago
I think they have bigger concerns right now... https://news.ycombinator.com/item?id=32460342
I, for one, appreciate this shameless plug!
Is it the same as electron-redux
in that each process has its own store locally? Or is it handled in some other way? Are there any other notable differences? And can state be segmented by process in any way? Eg if I have a big store but I only need to populate some portion of it in child windows, is there any way to avoid loading the big store in each process?
hey there @Slapbox 👋
sorry for the delay, let me try answering some of your questions..
the tl;dr is that it might not suit all your needs as of now 😢
Is it the same as electron-redux
in that each process has its own store locally? Or is it handled in some other way?
reduxtron
only enforces a single store, on the main process, other processes (renderer process, windows) have the 3 main functions (subscribe
, getState
, dispatch
) on their global scopeAre there any other notable differences?
reduxtron
doesn’t force or has opinions on what you have it on the browser windows, while on electron-redux
you have a redux store on the main process + one for each window.If I have a big store but I only need to populate some portion of it in child windows, is there any way to avoid loading the big store in each process?
The newest version is just plain broken for me.
newest version of electron-redux or reduxtron?
btw, @Nantris idk if you still need the subset of the state for each window. but i do have some ideas to achieve your needs, i have not yet needed it (still fast enough to have all redux data on all windows for me) but it might be as easy as just writing a “catch all” reducer and writing the logic to extract each piece of state for each window you need.
sometimes i’m working on my free time on zit, that has reduxtron as a central piece of it
The alpha version works fine for us, but I was wondering if this library is still under development since the alpha hasn't been updated in over a year.
Thanks for all the great work on this library!