creact-visualizer
TypeScript icon, indicating that this package has built-in type declarations

1.0.24 • Public • Published

C-React

Custom Renderer & Visualizer for Modern React

C-React is an open-source tool that marks and visualizes concurrent rendering patterns on web pages, differentiates between server-side rendered and client-side rendered components, and displays performance metrics.

Getting Started

Download NPM Package

  1. Install creact-visualizer via NPM:
npm install creact-visualizer
  1. Import cRender into your root file:
import cRender from 'creact-visualizer';
  1. Render your root component using the cRender:
import React from 'react';
import App from './App';
import cRender from 'creact-visualizer';

const root = document.getElementById('root');

cRender(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
  root
);


C-React Chrome DevTool

Install C-React DevTool from the Chrome Web Store

  1. Open your React application, or any website

  2. Open Chrome Developer Tools and click on the C-React panel

  3. Watch the tree update dynamically as you navigate through your web page

/creact-visualizer/

    Package Sidebar

    Install

    npm i creact-visualizer

    Weekly Downloads

    3

    Version

    1.0.24

    License

    MIT

    Unpacked Size

    35.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • ptri9-creact