@kbach/react-native 1.0.0-beta.4 → 1.0.0-beta.6

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 CHANGED
@@ -82,6 +82,11 @@ Architecture off, turn it on in `app.json`
82
82
  EAS Build works the same way — it runs the same `prebuild` step, so no
83
83
  extra configuration beyond the two steps above.
84
84
 
85
+ See `apps/expo-sandbox` in the [repo](https://github.com/semsakadanupol/kbach)
86
+ for a full working reference project covering both this section and Expo
87
+ Web below — including the `metro.config.js` a monorepo setup like this one
88
+ needs (a plain single-app install doesn't need it).
89
+
85
90
  ### Expo Web
86
91
 
87
92
  **Works — no extra setup, no separate package, no init call.** `expo start
@@ -104,8 +109,9 @@ for what's covered.
104
109
  ## What this is
105
110
 
106
111
  - A JSX runtime (`@kbach/react-native/jsx-runtime`) that intercepts
107
- `className`/`kb` props on every element and calls into the native bridge
108
- to resolve them to a style object, synchronously, on every render.
112
+ `className`/`kb` props on every element and calls into the native/WASM
113
+ bridge (whichever platform you're on) to resolve them to a style object,
114
+ synchronously, on every render.
109
115
  - A Babel plugin (`@kbach/react-native/babel-plugin`) that routes your
110
116
  app's own files (never `node_modules`) through that JSX runtime via a
111
117
  per-file `@jsxImportSource` pragma.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveStyle
3
- } from "./chunk-KSDFO34H.mjs";
3
+ } from "./chunk-T3HPTH62.mjs";
4
4
  import {
5
5
  createJsxFunctions
6
6
  } from "./chunk-DLIXI5OW.mjs";