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
Custom commands to single client #691
Conversation
@@ -28,4 +28,6 @@ if (__DEV__) { | |||
Reactotron.clear() | |||
} | |||
|
|||
Reactotron.onCustomCommand('test', () => console.log('This is an example')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you want to console.tron.log
this instead? I'm ok if you don't want to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I can do that. Not used to the whole console.tron
thing because I just slap Reactotron
on console.log
(which is super simple now thanks to you!). Updating now.
Updated console.tron. Merging based upon @skellock approval. |
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
fixes #687
If there is a better way to get at the observable on SessionStore from UIStore I would love to hear it but this worked for now!