React Quantum parses through your React application to create a color-coded tree model of its component hierarchy. On hover, each…
React Quantum parses through your React application to create a color-coded tree model of its component hierarchy. On hover, each tree node will display two key component performance metrics—render time and re-render frequency—as well as memoized state and props to indicate what, specifically, initiated the render. The beauty is in the heat map: Nodes will change color depending on the component's rendering performance, making it easy to pinpoint possible bottlenecks at a glance. 🔥 How it works *PLEASE NOTE* - React Quantum utilizes the React Devtool to extract information about your React App. - Please ensure your project is running on React 16.0+ and that you have the React Devtool installed before using React Quantum. - Due to the minification of component names during bundling, React Quantum works best with your project bundled in development mode. 1. Open Chrome Developer Tools (Inspect) on any page that uses React, and click on React Quantum at the top of the Developer Tools panel. Upon pressing ‘Start Quantum’, a persistent connection is open and stored on the background page. 2. Refresh the page or set state to trigger a re-render. As the user interacts with the React application, the Mutation Observer listens for changes to the DOM and triggers a script injection to extract and parse the page’s fiber tree. 3. Hover over a node to view information like Component Name, Type, Commit Frequency, Render Time, Current State, and Props. 4. React Quantum runs with heatmap values out-of-the-box, but users could opt to customize their heatmap with percentage inputs at the top of the tree.
- (2020-04-07) Niraj Kumar: Did not work for me. Despite following the instruction provided in the extension description, nothing happened. It kept showing: Please refresh page
- (2019-03-28) Daniel Wong: Must-have for any React dev who cares about perf 🙌
- (2019-03-08) Mitch Ryan: Doesn't seem to work for me. Extension just says to refresh the page. Refreshing the page yields the same result.
- (2019-02-06) Brian Hon: Awesome idea, works for my mini-app. can't wait to see its capabilities scaled up
- (2019-02-06) Austin Peterson: pretty awesome and it just came out! can't wait to see what they add to it in the future.
- (2019-02-05) Yong-Nicholas Kim: Fantastic functionality and design. Must have for React developers who want to test the performance of their apps. Where has this been all my life?
- (2019-02-05) Dora Hsu: Love the heat map capability, as it makes it super easy to identify underperformers
- (2019-02-05) Taihyun Lee: very convenient devtool
- (2019-02-05) Lamont Paung: This app has changed my life. Ask me about it.
- (2019-10-18, v:0.2.0) Jason Kendall: SSR?
I couldn't get this to work on a SSR site or on a basic create-react-app, it just says "please refresh page". Am I missing something here? Would be awesome if I could get this to work.