-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap #1
Comments
Hi @zalmoxisus / @antitoxic I currently playing with the idea of a standardized state container, see this repo: https://github.com/mweststrate/mobx-state-tree, I'll try to push some more info to the readme next week, but I might be a very good fit for standardized time travelling etc etc. |
Hey @zalmoxisus / @antitoxic here same updates on my work on the state tree (it will be part of an upcoming talk). Let me know what you think! It restricts state to be a tree, which made integration with the devtools surprisingly simple! Not entirely sure I did the middleware right, but seems to work :). I didn't implement the replay yet though, is there an api that allows me to connect to the slider, to be able to replay actions? https://github.com/mweststrate/mobx-state-tree/blob/0d0c5e1c70ff0dcea7fce53d1f10d97e661f33de/examples/boxes/src/index.js#L18 |
As far as I know the Slider monitor just reverts to a previous state and then reapplies actions after that point. That's all what replaying does. Am I missing something? In any case, I am not familiar with mobx-state-tree. I've added an issue there. |
Yeah so the basic question is, where does it apply them to. If the devtools are loaded as middleware it has access to the store, but how does it revert to the base state. Dispatch |
@mweststrate, looks impressive! For supporting the slider you just need to add @antitoxic, Slider ( |
awesome, that was the missing piece (skimmed the docs but completely missed it somehow). Gonna play with it! will you guys visit ReactNL or ReactiveConf? |
@mweststrate, unfortunately not. Feel free to ping me if you have other questions or suggestions to improve the workflow. The initial state is stored on the client part, the extension knows only the committed state which becomes different after clicking |
@mweststrate, also you could use |
@mweststrate sadly I'm not going to any of the confs due to freelance wrap-ups before starting a new fulltime position. I wish I could. I guess with the new job I will have more opportunities to visit. @zalmoxisus Alright, I thought |
@antitoxic, yes, and for every step it returns the index for Redux, and the state on the current index for non-Redux apps. I'll publish today a new version of Slider Monitor, which makes it accessible and with some new features, so any suggestions are welcome. |
remotedev
)The text was updated successfully, but these errors were encountered: