All Projects → reactopt → Reactopt

reactopt / Reactopt

A CLI React performance optimization tool that identifies potential unnecessary re-rendering

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Reactopt

React Ckeditor
CKEditor component for React with plugin and custom event listeners support
Stars: ✭ 124 (-93.72%)
Mutual labels:  npm, npm-package, npm-module, react-component
Npm Run All
A CLI tool to run multiple npm-scripts in parallel or sequential.
Stars: ✭ 4,496 (+127.65%)
Mutual labels:  npm, npm-package, npm-module
Cpx
A cli tool to watch and copy file globs.
Stars: ✭ 394 (-80.05%)
Mutual labels:  npm, npm-package, npm-module
Reactprimer
React component prototyping tool that generates fully connected class component code.
Stars: ✭ 743 (-62.38%)
Mutual labels:  developer-tools, component, react-component
React Pro Sidebar
Customizable and responsive react sidebar library with dropdown menus and unlimited number of nested submenus
Stars: ✭ 359 (-81.82%)
Mutual labels:  npm, npm-package, react-component
Hukum
An NPM module that displays Github Action progress in the terminal and aims to improve your development experience by printing status in realtime.
Stars: ✭ 375 (-81.01%)
Mutual labels:  npm, npm-module, developer-tools
Eslint Plugin Node
Additional ESLint's rules for Node.js
Stars: ✭ 740 (-62.53%)
Mutual labels:  npm, npm-package, npm-module
docker-google-lighthouse-puppeteer
Google Lighthouse + Puppeteer / Docker Image
Stars: ✭ 29 (-98.53%)
Mutual labels:  npm-package, npm-module, puppeteer
Packagephobia
⚖️ Find the cost of adding a new dependency to your project
Stars: ✭ 1,110 (-43.8%)
Mutual labels:  npm, npm-package, npm-module
Package.json
文件 package.json 的说明文档。
Stars: ✭ 67 (-96.61%)
Mutual labels:  npm, npm-package, npm-module
Homebridge Wol
A Wake on Lan plugin for Homebridge
Stars: ✭ 150 (-92.41%)
Mutual labels:  npm, npm-package, npm-module
Eslint Plugin Vue
Official ESLint plugin for Vue.js
Stars: ✭ 3,592 (+81.87%)
Mutual labels:  npm, npm-package, npm-module
Ngx Smart Modal
Modal/Dialog component crafted for Angular
Stars: ✭ 256 (-87.04%)
Mutual labels:  npm, npm-package, npm-module
cmdr
POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations
Stars: ✭ 94 (-95.24%)
Mutual labels:  commandline, commandline-interface, command-line-interface
Event Target Shim
An implementation of WHATWG EventTarget interface, plus few extensions.
Stars: ✭ 89 (-95.49%)
Mutual labels:  npm, npm-package, npm-module
Rando.js
The world's easiest, most powerful random function.
Stars: ✭ 659 (-66.63%)
Mutual labels:  npm, npm-package, npm-module
Singlespotify
🎵 Create Spotify playlists based on one artist through the command line
Stars: ✭ 254 (-87.14%)
Mutual labels:  npm, npm-package, npm-module
Recorder
A browser extension that generates Cypress, Playwright and Puppeteer test scripts from your interactions 🖱 ⌨
Stars: ✭ 277 (-85.97%)
Mutual labels:  chromium, testing-tools, puppeteer
Awesome Node Utils
some useful npm packages for nodejs itself
Stars: ✭ 51 (-97.42%)
Mutual labels:  npm, npm-package, npm-module
Webcam Easy
javascript access webcam stream and take photo
Stars: ✭ 79 (-96%)
Mutual labels:  npm, npm-package, npm-module

reactopt

reactopt

npm version

A CLI React performance optimization tool that identifies potential unnecessary re-rendering.

About

Reactopt identifies specific events that may be causing unnecessary re-rendering of components in your application, and which components may benefit from utilizing shouldComponentUpdate.

Prior to React 16, the module react-addons-perf helped identify locations that developers may want to implement shouldComponentUpdate to limit over-rendering. However, since the module is no longer supported we created Reactopt to fill the gap, and also provide increased functionality for any version of React.

Upon initiating Reactopt, your application will be launched in a browser for you to interact with. After you're finished and type 'done', you will see an audit on your application's component performance.

1.5.0 is the first working version of this module. Utilizes async/await, which is natively supported in Node 7.6+.

Interaction Events Currently Supported:

  • Click/Double Click
  • Drag
  • KeyPress
  • KeyDown
  • Input

We welcome contributions that add additional functionality.

reactopt-screenshot

Install and Use

npm install

npm install --save-dev reactopt

Include this code at the top of your main React component file (our module is meant to be used in development mode):

import React from 'react'

if (process.env.NODE_ENV !== 'production') {
	const { reactopt } = require('reactopt');
	reactopt(React);
}

Include this script in your package.json:

"reactopt": "node node_modules/reactopt/main.js"

Run command

npm run reactopt localhost:####

In the Pipeline

  • Support for React Native
  • Currently gathering feedback from users on useful updates to documentation/readme

Team

This module was created by Candace Rogers, Pam Lam, Vu Phung, Selina Zawacki

Contact

Like our app, found a bug?

Let us know!

[email protected]

Visit us at www.reactopt.com

Acknowledgements

Utilizes a modified version of (why-did-you-update by maicki)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].