malucomarinero / react-wastage-monitor Goto Github PK
View Code? Open in Web Editor NEWReact Client Monitor that detects wasted rendering time on incorrectly developed Pure Components
License: MIT License
React Client Monitor that detects wasted rendering time on incorrectly developed Pure Components
License: MIT License
Believe this package needs to be moved from devDependencies
to regular dependencies since it's imported in reuseChecker.js
It states it monitors waste renders and their cause, but doesn't state what it does about it. Does it log a console message? throw an error? Is it built in the window? It would be nice to know without having to try out the package ๐ A screenshot could also help!
./node_modules/react-wastage-monitor/npm/index.js
Module build failed: Error: Couldn't find preset "es2015" relative to directory
I'm using React 16+ with babel-preset-env.
I get this error in my react 16 app:
Uncaught Error: EventPluginRegistry: Failed to publish event _performComponentUpdate
for plugin TapEventPlugin
.
I think that related to unsupported react 16...
Hello, thanks for making this great package!
It would be great if there was an option to disable the 'Component is impure and will ALWAYS update when a component above it does' check.
Having every component be pure isn't optimal, since components that need to update often are going through unnecessary shouldComponentUpdate checks. More discussion here.
It's not a huge thing, but for components that are intentionally left as impure, the console warning is impossible to mute without excluding the component from other useful checks.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.