react-monocle
react-monocle copied to clipboard
A developer tool to visualize a React application's component hierarchy.
I nice progress bar for when it's stripping the bundle file. Would be really nice just to make sure it's working. Quality of life improvement.
My app is working fine. I pointed `monocle` at my working JS bundle and I get the following error followed by an exit. ``` $ monocle --bundle static/js/main.334bd06e.js Starting to...
This tool looks absolutely great, but unfortunately the documentation is basically non-existing. How would this work in a webpack context? What do you mean by react-bundle? It hasn't worked with...
Hi, my project is written is Typescript-React so can i use this ?
``` /.nvm/versions/node/v8.5.0/lib/node_modules/react-monocle/node_modules/extract-comments/lib/comments.js:55 throw err; ^ Error: Line 1: Unexpected token < at constructError (/Users/pyaesone/.nvm/versions/node/v8.5.0/lib/node_modules/react-monocle/node_modules/esprima-extract-comments/node_modules/esprima/esprima.js:2407:21) at createError (/Users/pyaesone/.nvm/versions/node/v8.5.0/lib/node_modules/react-monocle/node_modules/esprima-extract-comments/node_modules/esprima/esprima.js:2426:17) at unexpectedTokenError (/Users/pyaesone/.nvm/versions/node/v8.5.0/lib/node_modules/react-monocle/node_modules/esprima-extract-comments/node_modules/esprima/esprima.js:2500:13) at throwUnexpectedToken (/Users/pyaesone/.nvm/versions/node/v8.5.0/lib/node_modules/react-monocle/node_modules/esprima-extract-comments/node_modules/esprima/esprima.js:2505:15) at parsePrimaryExpression (/Users/pyaesone/.nvm/versions/node/v8.5.0/lib/node_modules/react-monocle/node_modules/esprima-extract-comments/node_modules/esprima/esprima.js:3307:13) at inheritCoverGrammar (/Users/pyaesone/.nvm/versions/node/v8.5.0/lib/node_modules/react-monocle/node_modules/esprima-extract-comments/node_modules/esprima/esprima.js:2681:18) at...
I am trying to get monocle running against an existing code base with ~20 components (and growing). I have run into a handful of issues and had to guess at...
in docs there are two options with shortcut `-e` (I suppose one of them is typo) ``` Entry --entry (-e) App entry point. Defaults to JSX file where ReactDOM.render is...
ran monocle, got ``` monocle -c index.html -j js -b main.6b90ebb85e95149b7fca.js Starting to strip comments from bundle file... Took 1.104 seconds to strip comments input bundle file /usr/local/lib/node_modules/react-monocle/src/previewParser.js:162 .reduce((prev, curr)...
Currently don't support state synchronization in applications using Redux. Add support in future release
Have had a number of months to reflect on React Monocle's current implementation and have come up with some ideas on potential rewrite of the tool. ### Goals - Better...