All Projects â†’ marcin-mazurek â†’ React Render Debugger

marcin-mazurek / React Render Debugger

Licence: mit
🔧 Render debugger for React

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Render Debugger

Ember Arg Types
Runtime type checking & defaulting for glimmer component arguments powered by prop-types & decorators
Stars: ✭ 43 (-58.25%)
Mutual labels:  decorators
Class Logger
Boilerplate-free decorator-based class logging
Stars: ✭ 64 (-37.86%)
Mutual labels:  decorators
Lit Element Router
A LitElement Router (1278 bytes gzip)
Stars: ✭ 85 (-17.48%)
Mutual labels:  decorators
Redux Connect Decorator
React Redux's connect as a decorator.
Stars: ✭ 46 (-55.34%)
Mutual labels:  decorators
Until Destroy
🦊 RxJS operator that unsubscribe from observables on destroy
Stars: ✭ 1,071 (+939.81%)
Mutual labels:  decorators
Trafficlight
🚦 Flexible NodeJS Routing Decorators for API Routing
Stars: ✭ 69 (-33.01%)
Mutual labels:  decorators
Injection Js
Dependency injection library for JavaScript and TypeScript in 5.1K. It is an extraction of the Angular's ReflectiveInjector which means that it's well designed, feature complete, fast, reliable and well tested.
Stars: ✭ 962 (+833.98%)
Mutual labels:  decorators
Utils Decorators
Decorators for web and node applications
Stars: ✭ 95 (-7.77%)
Mutual labels:  decorators
React Adventure
â›° React high-ending architecture & patterns ready for use. Made for big and small projects. PWA Ready.
Stars: ✭ 62 (-39.81%)
Mutual labels:  decorators
Fastify Decorators
Set of Typescript decorators to build Fastify server with controllers, services and hooks
Stars: ✭ 85 (-17.48%)
Mutual labels:  decorators
Moleculer Decorators
decorators for moleculer
Stars: ✭ 47 (-54.37%)
Mutual labels:  decorators
Vuex Ts Decorators
Write Vuex stores and modules with type-safety and code completion
Stars: ✭ 53 (-48.54%)
Mutual labels:  decorators
Bottlejs
A powerful dependency injection micro container for JavaScript applications
Stars: ✭ 1,171 (+1036.89%)
Mutual labels:  decorators
Decko
💨 The 3 most useful ES7 decorators: bind, debounce and memoize
Stars: ✭ 1,024 (+894.17%)
Mutual labels:  decorators
Multitasking
Non-blocking Python methods using decorators
Stars: ✭ 87 (-15.53%)
Mutual labels:  decorators
React Apollo Decorators
Better decorators for Apollo and React
Stars: ✭ 39 (-62.14%)
Mutual labels:  decorators
Graphql Typescript
Define and build GraphQL Schemas using typed classes
Stars: ✭ 67 (-34.95%)
Mutual labels:  decorators
Css Constructor
💄 CSS constructor for React components
Stars: ✭ 97 (-5.83%)
Mutual labels:  decorators
Python Aspectlib
An aspect-oriented programming, monkey-patch and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework.
Stars: ✭ 90 (-12.62%)
Mutual labels:  decorators
React Inform
Simple controlled forms with validations in react
Stars: ✭ 81 (-21.36%)
Mutual labels:  decorators

React Render Debugger

A visual way to see what is (re)rendering and why.

Decorator/higher-order function version ported from https://github.com/redsunsoft/react-render-visualizer

Learn more about the experimental decorator syntax.

Features

  • Shows when component is being mounted or updated by highlighting (red for mount, yellow for update)
  • Shows render count for each component instance
  • Shows individual render log for each component instance

Installation

npm install react-render-debugger

Usage

Import and apply to any React component you want to start monitoring:

import React, { Component } from 'react';
import debugRender from 'react-render-debugger';

// Use with the decorator syntax (experimental)
@debugRender
class DecoratedComponent extends Component {
    render () {
        // ...
    }
}

// Or simply passing the component to the function
class PlainComponent extends Component {
    render () {
        // ...
    }
}

const WrappedPlainComponent = debugRender(PlainCompoent);

Component will show up with a blue border box when being monitored.

Demo

See a demo page: http://react-render-visualizer-decorator.netlify.com/

Similar libraries

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