我有一个 React 应用程序,但大多数时候,当我对源代码进行更改时,浏览器会重新加载新代码,但 iframe 会在整个应用程序中注入到应用程序中
我已经审查了我的源代码,当然我不是自己做的,而且,我审查了我安装的 Chrome 扩展,基本上就是这些(复制所有 URL、Google Docs Offline、Redux DevTools、Redux DevTools )
我在 package.json 文件中安装的所有库都是
{
"name": "react-ui-generator",
"version": "0.0.0",
"private": true,
"dependencies": {
"@aws-amplify/ui-react": "^1.2.6",
"@babel/core": "^7.14.6",
"@date-io/date-fns": "^1.3.13",
"@material-table/core": "~4.3.1",
"@material-table/exporters": "^1.0.12",
"@material-ui/core": "~4.12.3",
"@material-ui/icons": "~4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@material-ui/pickers": "^3.3.10",
"@monsonjeremy/react-leaflet-core": "^1.1.1",
"@react-leaflet/core": "npm:@monsonjeremy/react-leaflet-core",
"@reduxjs/toolkit": "^1.6.0",
"@rjsf/core": "~3.1.0",
"@rjsf/material-ui": "~3.1.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"aws-amplify": "^4.2.0",
"axios": "^0.21.1",
"connected-react-router": "~6.9.1",
"date-fns": "^2.0.0-beta.5",
"formik": "^2.2.9",
"guid": "0.0.12",
"http-proxy-middleware": "^2.0.1",
"immutability-helper": "~3.1.1",
"isomorphic-ws": "^4.0.1",
"leaflet": "^1.7.1", …Run Code Online (Sandbox Code Playgroud)