0.0.5 • Published 8 years ago

tinyprofiler-react v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

tinyprofiler-react

ReactJS front-end for TinyProfiler

  • introduction
  • getting started
  • documentation
  • license

introduction

tinyprofiler is a minimal isomorphic JavaScript profiler. This package is a front-end for tinyprofiler built using the React.js framework. It is primarily intended to be part of a larger application built with React, but can be used independently in any front-end as well.

getting started

First you'll need to set up tinyprofiler on the server and the shared tinyprofiler-client in the browser. Then simply create the markup for your client instance with code such as this:

var ui = require('tinyprofiler-react');
var reactComponent = ui.renderComponent(
  tinyprofilerClient,
  { position: 'sw' }
);

or this,

ui.renderElement(
  tinyprofilerClient,
  document.getElementById("tp")
);

or this,

var stringValue = ui.renderString(
  tinyprofilerClient
);

documentation

coming soon

license

MIT: https://couch.mit-license.org/

╭╮☲☲☲╭╮