# Why Did You Update

A BlueRain Plugin to add [why-did-you-update](https://github.com/garbles/why-did-you-update) to test React performance.

## Usage

Run the following command in the plugin directoy:

```
npm i --save @blueeast/bluerain-plugin-why-did-you-update
```

Then in your boot function, pass the plugin like this:

```javascript
import BR from '@blueeast/bluerain-os';
import WhyDidYouUpdatePlugin from '@blueeast/bluerain-plugin-why-did-you-update';

BR.boot({
    plugins: [WhyDidYouUpdatePlugin]
})
```

## API

### WhyDidYouUpdatePlugin

**Extends Plugin**

A BlueRain Plugin to add [why-did-you-update](https://github.com/garbles/why-did-you-update) to test React performance.

**Properties**

* `pluginName` [**string**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) "WhyDidYouUpdatePlugin"
* `slug` [**string**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) "why-did-you-update"
