@sentinel-js/react 0.1.1 → 0.1.3
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 +2 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@ pnpm add @sentinel-js/react
|
|
|
14
14
|
|
|
15
15
|
**Peer dependencies:** `react` and `react-dom` (>=16.8.0). You must have them installed in your app.
|
|
16
16
|
|
|
17
|
+
When you add `@sentinel-js/vite-plugin` to your Vite config, it automatically sets `resolve.dedupe` and `optimizeDeps.include` so a single React instance is used in both dev and build. No extra config is required.
|
|
18
|
+
|
|
17
19
|
## Usage
|
|
18
20
|
|
|
19
21
|
### Option A: Standard UI (Toast Banner)
|