Skip to content

Commit 3757120

Browse files
committed
Drop UMD mentions
1 parent 5dcefbe commit 3757120

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This repo uses Yarn 3 for all package management. Please ensure that Yarn 1.x is
4444

4545
#### Building Redux
4646

47-
Running the `build` task will create a CommonJS module-per-module build, a ES Modules build and a UMD build.
47+
Running the `build` task will build the artifacts into the `./dist` folder
4848

4949
```sh
5050
yarn build

docs/faq/General.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ Redux is written using modern JS syntax (ES2020), but the code is fairly simple.
108108

109109
If you need to target older browsers, please transpile it yourself.
110110

111-
. You should be able to use it regardless of your JavaScript build process. Redux also offers a UMD build that can be used directly without any build process at all.
112-
113111
The [counter-vanilla](https://github.com/reduxjs/redux/tree/master/examples/counter-vanilla) example demonstrates basic ES5 usage with Redux included as a `<script>` tag. As the relevant pull request says:
114112

115113
> The new Counter Vanilla example is aimed to dispel the myth that Redux requires Webpack, React, hot reloading, sagas, action creators, constants, Babel, npm, CSS modules, decorators, fluent Latin, an Egghead subscription, a PhD, or an Exceeds Expectations O.W.L. level.

docs/introduction/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ npm install redux
6969
yarn add redux
7070
```
7171

72-
It is also available as a precompiled UMD package that defines a `window.Redux` global variable. The UMD package can be used as a [`<script>` tag](https://unpkg.com/redux/dist/redux.js) directly.
72+
The package includes a precompiled ESM build that can be used as a [`<script type="module">` tag](https://unpkg.com/redux/dist/redux.browser.mjs) directly in the browser.
7373

7474
For more details, see the [Installation](Installation.md) page.
7575

docs/introduction/Installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm install @reduxjs/toolkit
2020
yarn add @reduxjs/toolkit
2121
```
2222

23-
It's also available as a UMD build, which can be loaded from [the `dist` folder on unpkg](https://unpkg.com/@reduxjs/toolkit/dist/). The UMD builds make Redux Toolkit available as a `window.RTK` global variable.
23+
The package includes a precompiled ESM build that can be used as a [`<script type="module">` tag](https://unpkg.com/redux/dist/redux.browser.mjs) directly in the browser.
2424

2525
## Complementary Packages
2626

docs/tutorials/fundamentals/part-5-ui-and-react.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ The official [**React-Redux UI bindings library**](https://react-redux.js.org) i
9999
npm install react-redux
100100
```
101101

102-
(If you don't use npm, you may grab the latest UMD build from unpkg (either a [development](https://unpkg.com/react-redux@latest/dist/react-redux.js) or a [production](https://unpkg.com/react-redux@latest/dist/react-redux.min.js) build). The UMD build exports a global called `window.ReactRedux` if you add it to your page via a `<script>` tag.)
103-
104102
For this tutorial, we'll cover the most important patterns and examples you need to use React and Redux together, and see how they work in practice as part of our todo app.
105103

106104
:::info

0 commit comments

Comments
 (0)