This project is currently in development. Not recommended for use in production. APIs will change.
Attribute | Required? | Default | Description |
---|---|---|---|
context | Yes | None | Fluxible Application Context |
traceKey | Yes | None | Intraspector Trace Key |
- Register Store in Fluxible Application
import { IntraspectorStore } from 'react-fluxible-intraspector';
app.registerStore(IntraspectorStore);
- Dispatch Intraspector Events
payload = {key: 'exampleKey', trace: intraspectorTrace};
actionContext.dispatch('intraspectorTrace.received', payload);
- Intraspector Component
import { Intraspector } from 'react-fluxible-intraspector';
Component = React.createClass({
render() {
return (
<Intraspector context={this.props.appContext} traceKey={'exampleKey'} />
)
});
- Toggle debug mode in console to display Intraspector Component
toggleIntraspector()
git clone https://github.com/BespokeInsights/react-fluxible-intraspector.git
cd react-fluxible-intraspector
npm install
Make changes to files in the src/ folder. To build for release run npm run compile
Proudly developed by Bespoke Insights