$ npm start
$ npm run deploy-test
Unit tests and lint:
$ npm test
Add the following to src/index.js (do not commit it to git or release it to production, though!):
if (process.env.NODE_ENV !== 'production') {
const { whyDidYouUpdate } = require('why-did-you-update');
whyDidYouUpdate(React, {
// Whitelist for components, using component name
// include: [/^(Container|MyComponent)/],
// Blacklist for components, using component name
// exclude: [/^(Container|MyComponent)/],
});
}