Projetos
Ver no GitHub
ryanflorence/react-lumberjack
Sobre
Logging setState for React
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalReact Lumberjack
Logs setState calls across your app for debugging bliss.

Installation
npm install react-lumberjack
Usage
Just include it before you do any rendering with React.
import 'react-lumberjack'
or
require('react-lumberjack')
or
<script src="https://npmcdn.com/[email protected]"></script>
Make sure not to include it in your production build, ofc.
"Time Travel"
Lumberjack.back()
Lumberjack.forward()
This is super hacky, has 8 trillion edge-cases, but I'm finding it useful for debugging a few states back. If a component is unmounted at some point, there's no going back.
Consider it a fun proof-of-concept that at least one person (me) finds useful :P
Explore projetos relacionados
Carregando…