Giter VIP home page Giter VIP logo

react-wastage-monitor's Issues

The doc doesn't state what the package actually does

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!

react 16 support

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...

Allow disabling pure component check

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

Question about "StatelessComponent is impure"

Hello,

Great tool but I have a question regarding the following:
example
Is there any way to track down the StatelessComponent's that are causing these logs? Working on quite a big project so it's difficult to track the components down manually as there are quite a few of them.

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.