DebugReact icon indicating copy to clipboard operation
DebugReact copied to clipboard

17.0.3版本更正

Open erwindy opened this issue 4 years ago • 0 comments

`/**

  • 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变量注释掉,换成新的

erwindy avatar Jun 20 '21 05:06 erwindy