1 | import supportsProtoAssignment from './supportsProtoAssignment';
|
2 |
|
3 | if (!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 |
|
12 | import createClassProxy from './createClassProxy';
|
13 | export default createClassProxy;
|