Home

Awesome

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.

<img src="https://cldup.com/vuY4YllSLn.png" width="300" height="200">

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