Skip to content
Snippets Groups Projects
Commit 37703ca9 authored by Jack Reed's avatar Jack Reed
Browse files

whydid

parent df9b83fd
Branches why-did
No related tags found
No related merge requests found
import React from 'react';
import whyDidYouRender from '@welldone-software/why-did-you-render';
import init from './init'; import init from './init';
import * as actions from './state/actions'; import * as actions from './state/actions';
import * as selectors from './state/selectors'; import * as selectors from './state/selectors';
...@@ -5,6 +7,15 @@ import * as selectors from './state/selectors'; ...@@ -5,6 +7,15 @@ import * as selectors from './state/selectors';
export * from './components'; export * from './components';
export * from './state/reducers'; export * from './state/reducers';
whyDidYouRender(React, {
collapseGroups: true,
// include: [/.*/],
// notifier: ({ Component, displayName }) => {
// console.warn(displayName);
// },
// onlyLogs: true,
});
const exports = { const exports = {
actions, actions,
selectors, selectors,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment