diffhtml-middleware-logger
v1.0.0-beta.30
Published
Logs out render transactions to the console
Downloads
53
Readme
<±/> diffHTML Logger Middleware
Stable Version: 1.0.0-beta.30
Use with diffHTML to console.log out render
transaction operations. This will nest
sub-component renders if they happen during a parent render.

Installation
npm install diffhtml-middleware-loggerExample
import { use } from 'diffhtml';
import logger from 'diffhtml-middleware-logger';
use(logger());This is not a very performant middleware, so please do not use this in production where performance is critical. Use in development.
