Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17.0.3版本更正 #29

Open
erwindy opened this issue Jun 20, 2021 · 0 comments
Open

17.0.3版本更正 #29

erwindy opened this issue Jun 20, 2021 · 0 comments

Comments

@erwindy
Copy link

erwindy commented Jun 20, 2021

`/**

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant