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

A debug component #368

Merged
merged 4 commits into from
Jun 30, 2015
Merged

A debug component #368

merged 4 commits into from
Jun 30, 2015

Conversation

goatslacker
Copy link
Owner

Creating a debug component for use with React.

@Shearerbeard
Copy link

So awesome!

@goatslacker
Copy link
Owner Author

If you want to try this out:

import Debugger from 'alt/utils/Debugger'

<Debugger alt={yourAltInstance} />

@Shearerbeard
Copy link

Trying to test this out but I'm an error that "fixed-data-table" could not be found.

@goatslacker
Copy link
Owner Author

Ah yes. npm install fixed-data-table

You'll also want to do that in your app so you can get the CSS. I'm thinking of better ways of packaging that up.

@Shearerbeard
Copy link

Okay this is seriously cool - I've been playing with it in some test projects and its seems like its running great. Going to wire up a type definition really fast and try it out in a larger app. Thanks!

goatslacker added a commit that referenced this pull request Jun 30, 2015
@goatslacker goatslacker merged commit ad9c2bb into master Jun 30, 2015
@goatslacker goatslacker deleted the debug-component branch June 30, 2015 20:37
@esamattis
Copy link

It seems that the css is not active for some reason even thou the style-tag is rendered to the dom. Also the fixed-data-table component does not appear at all but that's probably due to broken css.

The Start Replay button seems to work thou.

altdebug

@goatslacker
Copy link
Owner Author

@epili try npm install fixed-data-table I'll work on bundling that in

@esamattis
Copy link

It's installed alright. My webpack build crashes if it not. Can't miss it really :)

@lenage
Copy link

lenage commented Jul 9, 2015

What about chromeDebug? could we merge it to Debugger?

@goatslacker
Copy link
Owner Author

Not sure I understand, chromeDebug enables the chrome debugger whereas Debugger is just a React component you put on your page.

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

Successfully merging this pull request may close these issues.

4 participants