diff --git a/.changeset/breezy-plants-crash.md b/.changeset/breezy-plants-crash.md new file mode 100644 index 00000000000..65271609b8e --- /dev/null +++ b/.changeset/breezy-plants-crash.md @@ -0,0 +1,5 @@ +--- +'@foreachbe/react-scripts': patch +--- + +Revert fast refresh warning diff --git a/docusaurus/docs/adding-multiple-entry-points.md b/docusaurus/docs/adding-multiple-entry-points.md index 260831adba8..0af861c1221 100644 --- a/docusaurus/docs/adding-multiple-entry-points.md +++ b/docusaurus/docs/adding-multiple-entry-points.md @@ -7,7 +7,7 @@ Create React App comes with an embedded `index.html` and `index.js` which is sho ## Creating files -Please, create your `.html` and `.js` (Or TypeScript file). The embedded files come inside `public` and `src` folder. +Please, create your `.html` and (`.js` | `.ts`) files. The embedded files come inside `public` and `src` folder. ## Add the new app in package.json diff --git a/docusaurus/website/docusaurus.config.js b/docusaurus/website/docusaurus.config.js index 024ad3a85be..5587bfede49 100644 --- a/docusaurus/website/docusaurus.config.js +++ b/docusaurus/website/docusaurus.config.js @@ -9,7 +9,7 @@ const siteConfig = { title: 'Create React App', tagline: 'Set up a modern web app by running one command.', - url: 'https://foreachos-cra.netlify.app', + url: 'https://foreach-cra.netlify.app', baseUrl: '/', projectName: 'create-react-app', organizationName: 'foreachos', diff --git a/packages/react-scripts/scripts/start.js b/packages/react-scripts/scripts/start.js index 5ddda59a9b5..899f6c1fa7b 100644 --- a/packages/react-scripts/scripts/start.js +++ b/packages/react-scripts/scripts/start.js @@ -191,10 +191,10 @@ checkBrowsers(paths.appPath, isInteractive) clearConsole(); } - if (env.raw.FAST_REFRESH && semver.lt(react.version, '16.11.0')) { + if (env.raw.FAST_REFRESH && semver.lt(react.version, '16.10.0')) { console.log( chalk.yellow( - `Fast Refresh requires React 16.11 or higher. You are using React ${react.version}.` + `Fast Refresh requires React 16.10 or higher. You are using React ${react.version}.` ) ); }