UNPKG

457 BJavaScriptView Raw
1import supportsProtoAssignment from './supportsProtoAssignment';
2
3if (!supportsProtoAssignment()) {
4 console.warn(
5 'This JavaScript environment does not support __proto__. ' +
6 'This means that react-proxy is unable to proxy React components. ' +
7 'Features that rely on react-proxy, such as react-transform-hmr, ' +
8 'will not function as expected.'
9 );
10}
11
12import createClassProxy from './createClassProxy';
13export default createClassProxy;