0.0.1 • Published 9 years ago

deku-performance v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

deku-performance

NPM version license

A performance monitoring component built with Deku that uses accurate end-to-end latency data via the Navigation Timing API.

Installation

$ npm install deku-performance

Usage

It is recommended to conditionally render this component based on an environment variable (e.g. window.env):

import Performance from 'stevenmiller888/deku-performance';

{
  window.env === 'development'
    ? <Performance corner="bottomRight"/>
    : null
}

Resources

W3

License

MIT

0.0.1

9 years ago