@m3e/react 2.0.3 → 2.0.4

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.
Files changed (2) hide show
  1. package/README.md +1 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  The `@m3e/react` package provides idiomatic, typed React bindings for M3E Web Components, exposing their properties, attributes, and native DOM events through a familiar React interface with full ref forwarding and client‑only compatibility.
4
4
 
5
- The React bindings are client-only and must be used inside a `"use client"` boundary in your application.
6
-
7
- To support Next.js and SSR, `@m3e/web` works with Lit's server-ready modules, and consumers only need to wrap their `next.config.js` with `withLitSSR` from `@lit-labs/nextjs`. This lets Next.js load the correct server build instead of evaluating browser code during rendering, so all `@m3e/web` elements render on the server and hydrate on the client without any extra setup.
5
+ > **Note:** The React bindings are clientonly. In Next.js, you **must** use them inside a `"use client"` boundary.
8
6
 
9
7
  ## 🧪 Example
10
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m3e/react",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "React bindings for M3E Web Components",
5
5
  "author": "matraic <matraic@yahoo.com>",
6
6
  "license": "MIT",
@@ -212,7 +212,7 @@
212
212
  },
213
213
  "peerDependencies": {
214
214
  "@lit/react": "^1.0.8",
215
- "@m3e/web": "^2.0.3",
215
+ "@m3e/web": "^2.0.4",
216
216
  "lit": "^3.3.0",
217
217
  "react": ">=18"
218
218
  }