@samitouri / QOS-React / commits / a7ed9fd199

Remove react/addons

Dan Abramov committed Mar 17, 2016 at 18:18 UTC a7ed9fd19961fd4d1acc60f615de998b211b919d
1 file changed -15
packages/react/addons.js deleted
-15
@@ -1,15 +0,0 @@
1 -'use strict';
2 -
3 -var warning = require('fbjs/lib/warning');
4 -warning(
5 - false,
6 - /* eslint-disable no-useless-concat */
7 - // Require examples in this string must be split to prevent React's
8 - // build tools from mistaking them for real requires.
9 - // Otherwise the build tools will attempt to build a 'react-addons-{addon}' module.
10 - 'require' + "('react/addons') is deprecated. " +
11 - 'Access using require' + "('react-addons-{addon}') instead."
12 -);
13 -/* eslint-enable no-useless-concat */
14 -
15 -module.exports = require('./lib/ReactWithAddons');