/deku-performance

Performance monitoring component

Primary LanguageJavaScript

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