Package Exports
- diffhtml-middleware-logger
- diffhtml-middleware-logger/dist/cjs/index.js
- diffhtml-middleware-logger/dist/es/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (diffhtml-middleware-logger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-logger
Example
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.