DebugReact
DebugReact copied to clipboard
17.0.3版本更正
`/**
- Copyright (c) Facebook, Inc. and its affiliates.
- This source code is licensed under the MIT license found in the
- LICENSE file in the root directory of this source tree.
- @flow */
import * as React from 'react';
const ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
export default ReactSharedInternals;`
我使用的是17.0.3版本,其他的配置不变,但是在ReactSharedinternals.js文件里需要把已经有的ReactSharedInternals变量注释掉,换成新的