3 ms·
Out of curiosity how did you find that out? I've been looking for a decent debugging workflow for React.
by seivan 11y ago
Out of curiosity how did you find that out? I've been looking for a decent debugging workflow for React.
- delluminatus 11y agoSorry to say, it's nothing React-specific. I understand that there is a React Developer Tools addon for Chrome that might be of interest [0]. As for me, I just turned on Javascript CPU profiling in Firefox Developer Tools, scrolled a bit, and checked what JS calls were causing the slowdown. Because the unminified source for the website is available on Github, you can quickly find and examine the functions' code directly [1]. [0]: https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en https://chrome.google.com/webstore/detail/react-developer-to... [1]: https://github.com/casesandberg/react-context/blob/gh-pages/docs/components/home/HomeBody.jsx#L96 https://github.com/casesandberg/react-context/blob/gh-pages/...
- seivan 11y agoThanks. I've been spending too much on the Rails and iOS stack that I've lost track on proper front end tools and workflows. Appreciate it.