Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.09 KB

Readme.md

File metadata and controls

39 lines (25 loc) · 1.09 KB

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