@machinemetrics/mm-react-tools 3.0.0 → 3.0.1-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/mm-react-tools.es.js +5692 -5618
- package/dist/mm-react-tools.umd.js +63 -63
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,11 +6,19 @@ Components, hooks, and helper functions for writing React apps using MachineMetr
|
|
|
6
6
|
|
|
7
7
|
## Table of Contents
|
|
8
8
|
|
|
9
|
+
- [Upgrading to 3.x] (#upgrading-to-3.x)
|
|
9
10
|
- [Install](#install)
|
|
10
11
|
- [Getting Started](#getting-started)
|
|
11
12
|
- [Client ID and Secret](#client-id-and-secret)
|
|
12
13
|
- [License](#license)
|
|
13
14
|
|
|
15
|
+
## Upgrading to 3.x
|
|
16
|
+
|
|
17
|
+
When upgrading to 3.x or newer, there are a few breaking changes that need to be addressed.
|
|
18
|
+
|
|
19
|
+
- The `domain` property passed to `MMProvider` is no longer used so it can be removed. This information is inferred from the URL being loaded.
|
|
20
|
+
- If you pass `<Route>` components to `MMProvider` either directly or in some level more deeply nested within your application, it must be contained within a `<Routes>` component.
|
|
21
|
+
|
|
14
22
|
## Install
|
|
15
23
|
|
|
16
24
|
```bash
|