From d1823abd2b4b6e7218eb274ccccae8aeed1bfd4e Mon Sep 17 00:00:00 2001 From: Josh Story Date: Thu, 25 Apr 2024 09:56:54 -0700 Subject: [PATCH] update UMD section --- .../blog/2024/04/01/react-19-upgrade-guide.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/content/blog/2024/04/01/react-19-upgrade-guide.md b/src/content/blog/2024/04/01/react-19-upgrade-guide.md index bec8efd1a..09bd20203 100644 --- a/src/content/blog/2024/04/01/react-19-upgrade-guide.md +++ b/src/content/blog/2024/04/01/react-19-upgrade-guide.md @@ -449,7 +449,17 @@ TODO ### UMD builds removed {/*umd-builds-removed*/} -TODO +UMD builds are not well tested by React's own tooling and add project complexity and release overhead. While UMD was widely used in the past and a convenient way to load React without a build step it is no longer widely used and there are modern alternatives to loading modules as scripts in HTML Documents. + +In React 19 there are no more UMD builds. If you want to load React 19 using a script tag try using ESM based CDN such as [esm.sh](https://esm.sh/) + +```html + +``` ### Libraries depending on React internals may block upgrades {/*libraries-depending-on-react-internals-may-block-upgrades*/}