mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
* fix: only update editable strategies if index is less than 0 * fix: add wdyr * fix: set tracking to false as default * chore: update readme
11 lines
295 B
TypeScript
11 lines
295 B
TypeScript
/// <reference types="@welldone-software/why-did-you-render" />
|
|
|
|
import React from 'react';
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
const whyDidYouRender = require('@welldone-software/why-did-you-render');
|
|
whyDidYouRender(React, {
|
|
trackAllPureComponents: false,
|
|
});
|
|
}
|