@reckona/mreact-router 0.0.41 → 0.0.42

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 +2 -0
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -329,6 +329,8 @@ Use relative imports for app-local modules in server-side route code. The produc
329
329
 
330
330
  Route pages may extract server-only UI into app-local `.tsx` or `.mreact.tsx` components and pass JSX children through them. The router compiles those local server-component dependencies with the same server string or stream target before inserting the page output into layout `<Slot />` positions. Imported interactive app-local components are inferred from supported static render shapes, including direct JSX, JSX member roots, simple aliases, app-local barrel re-exports, and uppercase component function calls returned by the route. JSX-rendered client components become client reference boundaries; direct function-call returns hydrate as the route's client component.
331
331
 
332
+ The server target cannot emit JSX spread attributes. Avoid server-rendered patterns such as `<svg {...baseProps}>` or `<input {...fieldProps}>`; write the static attributes explicitly, or wrap shared attributes in a component whose JSX lists each emitted attribute. In development this limitation can appear as an `MR_UNSUPPORTED_SPREAD_ATTRIBUTE` diagnostic or as a route-level 500 while SSR compiles the page.
333
+
332
334
  ## Sessions
333
335
 
334
336
  Application code should import session helpers from `@reckona/mreact-auth`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reckona/mreact-router",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "File-system app router, SSR, actions, and deployment adapters for mreact.",
5
5
  "keywords": [
6
6
  "jsx",
@@ -99,20 +99,20 @@
99
99
  "access": "public"
100
100
  },
101
101
  "dependencies": {
102
- "@reckona/mreact": "0.0.41",
103
- "@reckona/mreact-compat": "0.0.41",
104
- "@reckona/mreact-compiler": "0.0.41",
105
- "@reckona/mreact-query": "0.0.41",
106
- "@reckona/mreact-devtools": "0.0.41",
107
- "@reckona/mreact-reactive-core": "0.0.41",
108
- "@reckona/mreact-reactive-dom": "0.0.41",
109
- "@reckona/mreact-server": "0.0.41",
110
- "@reckona/mreact-shared": "0.0.41"
102
+ "@reckona/mreact": "0.0.42",
103
+ "@reckona/mreact-compat": "0.0.42",
104
+ "@reckona/mreact-devtools": "0.0.42",
105
+ "@reckona/mreact-query": "0.0.42",
106
+ "@reckona/mreact-reactive-core": "0.0.42",
107
+ "@reckona/mreact-compiler": "0.0.42",
108
+ "@reckona/mreact-reactive-dom": "0.0.42",
109
+ "@reckona/mreact-server": "0.0.42",
110
+ "@reckona/mreact-shared": "0.0.42"
111
111
  },
112
112
  "peerDependencies": {
113
113
  "vite": ">=8 <9"
114
114
  },
115
115
  "optionalDependencies": {
116
- "@reckona/mreact-router-native": "0.0.41"
116
+ "@reckona/mreact-router-native": "0.0.42"
117
117
  }
118
118
  }