diff --git a/doc/TESTING.md b/doc/TESTING.md index e65b8df94..b674df24e 100644 --- a/doc/TESTING.md +++ b/doc/TESTING.md @@ -32,7 +32,7 @@ for how to write tests for real-world scalajs-react applications. // NOTE: Requires react-with-addons.js instead of just react.js jsDependencies += - "org.webjars.npm" % "react-dom" % "18.2.0" % Test + "org.webjars.npm" % "react-dom" % "18.3.1" % Test / "umd/react-dom-test-utils.development.js" minified "umd/react-dom-test-utils.production.min.js" dependsOn "umd/react-dom.development.js" diff --git a/doc/USAGE.md b/doc/USAGE.md index 3fbadbaf7..789695525 100644 --- a/doc/USAGE.md +++ b/doc/USAGE.md @@ -44,34 +44,34 @@ libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "2.1.1" libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "2.1.1" Compile / npmDependencies ++= Seq( - "react" -> "18.2.0", - "react-dom" -> "18.2.0") + "react" -> "18.3.1", + "react-dom" -> "18.3.1") ``` If you're using `jsDependencies`, add the following: ```scala - // Required for React 18.2.0 + // Required for React 18.3.1 dependencyOverrides += "org.webjars.npm" % "scheduler" % "0.22.0", jsDependencies ++= Seq( - // Polyfill required for React 18.2.0 + // Polyfill required for React 18.3.1 "org.webjars.npm" % "fast-text-encoding" % "1.0.3" / "text.js" minified "text.min.js" - "org.webjars.npm" % "react" % "18.2.0" + "org.webjars.npm" % "react" % "18.3.1" / "umd/react.development.js" minified "umd/react.production.min.js" dependsOn "text.js" // <-- Load the fast-text-encoding polyfill before loading React itself commonJSName "React", - "org.webjars.npm" % "react-dom" % "18.2.0" + "org.webjars.npm" % "react-dom" % "18.3.1" / "umd/react-dom.development.js" minified "umd/react-dom.production.min.js" dependsOn "umd/react.development.js" commonJSName "ReactDOM", - "org.webjars.npm" % "react-dom" % "18.2.0" + "org.webjars.npm" % "react-dom" % "18.3.1" / "umd/react-dom-server.browser.development.js" minified "umd/react-dom-server.browser.production.min.js" dependsOn "umd/react-dom.development.js" diff --git a/doc/changelog/3.0.0-betas.md b/doc/changelog/3.0.0-betas.md index df680b913..287d006b6 100644 --- a/doc/changelog/3.0.0-betas.md +++ b/doc/changelog/3.0.0-betas.md @@ -26,26 +26,26 @@ - To upgrade when using `jsDependencies`, make your sbt config look like this (comments for clarity) ```scala - // Required for React 18.2.0 + // Required for React 18.3.1 dependencyOverrides += "org.webjars.npm" % "scheduler" % "0.22.0", jsDependencies ++= Seq( - // Polyfill required for React 18.2.0 + // Polyfill required for React 18.3.1 "org.webjars.npm" % "fast-text-encoding" % "1.0.6" / "text.min.js" minified "text.min.js" - "org.webjars.npm" % "react" % "18.2.0" + "org.webjars.npm" % "react" % "18.3.1" / "umd/react.development.js" minified "umd/react.production.min.js" dependsOn "text.min.js" // <-- Load the fast-text-encoding polyfill before loading React itself commonJSName "React", - "org.webjars.npm" % "react-dom" % "18.2.0" + "org.webjars.npm" % "react-dom" % "18.3.1" / "umd/react-dom.development.js" minified "umd/react-dom.production.min.js" dependsOn "umd/react.development.js" commonJSName "ReactDOM", - "org.webjars.npm" % "react-dom" % "18.2.0" + "org.webjars.npm" % "react-dom" % "18.3.1" / "umd/react-dom-server.browser.development.js" minified "umd/react-dom-server.browser.production.min.js" dependsOn "umd/react-dom.development.js" diff --git a/library/ghpages/html/dev2.html b/library/ghpages/html/dev2.html index 100801c39..1bd6eaf65 100644 --- a/library/ghpages/html/dev2.html +++ b/library/ghpages/html/dev2.html @@ -3,8 +3,8 @@