Skip to content
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

Implement devtool hooks #7

Closed
gaearon opened this issue Jun 2, 2015 · 7 comments
Closed

Implement devtool hooks #7

gaearon opened this issue Jun 2, 2015 · 7 comments
Assignees

Comments

@gaearon
Copy link
Contributor

gaearon commented Jun 2, 2015

When #6 is done, I want to use it to implement hooks for debugging and time travelling from console.

The API could be something like

ReduxDebug.printLastActions();
ReduxDebug.printLastStates();
ReduxDebug.jumpTo(stateId);

etc.

@dariocravero
Copy link
Contributor

It would be nice to model this in a flux way so that apps (like a devtools app) can be plugged in on top of it. Marty has done that already. We can use panels to present it. I'll be glad to help out with that :)

@gaearon
Copy link
Contributor Author

gaearon commented Jun 3, 2015

Yeah, I definitely want to potentially support a DevTools app. I'm not going to write it myself tho, as it's crazy effort and people trying it generally say it wasn't worth it. A separate “debugger” app communicating by sockets that can be displayed in a DevTools container is more like what I envision.

@dariocravero
Copy link
Contributor

Good stuff :) I think that in redux's case it might be a different story regarding its use as hot reloading all the things changes the scenario quite a lot and a clear UI to it might be very beneficial to do all that time travelling :)

@gaearon
Copy link
Contributor Author

gaearon commented Jun 3, 2015

Agree here. :-)
I'm aiming for something runnable in a month for my talk at ReactEurope so I'm keeping things simple for now.

@ghost
Copy link

ghost commented Jun 6, 2015

it looks like redux is now turning into an 'isomorphic thing' (or it ever was but api changes make it clearer now). then i suggest to check out https://github.com/caiogondim/logdown

@gaearon gaearon self-assigned this Jun 18, 2015
@gaearon
Copy link
Contributor Author

gaearon commented Jul 7, 2015

Superseded by #195.

@gaearon gaearon closed this as completed Jul 7, 2015
@tyleranton
Copy link

A separate “debugger” app communicating by sockets that can be displayed in a DevTools container is more like what I envision.

I'm currently working on that here. So far it has been doable (and difficult). At the moment I'm trying to reason about getting Commit, Revert, etc. to work back to the client from the desktop app.

I plan on building in more devtools features as well (eg. The ability to add action buttons that will trigger your actions in your application).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants