You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@ The communication between React app and React Native app will be also simplified
25
25
-`.js`, `.ts`, `.jsx`, `.tsx`, `.mjs` and `.cjs` will be packed into one source.
26
26
- NOTE: Only the edits in the entry file of web will invoke rebuild because of the limitation of [metro](https://github.com/facebook/metro)'s build process.
27
27
- Handle communication between React Native and WebView with React hook style
28
-
- With `useBridge` hook, you can subscribe messages from WebView.
29
-
- With `useSubscribe` hook, you can subscribe messages from React Native.
28
+
- With `useWebViewMessage` hook, you can subscribe messages from WebView.
29
+
- With `useNativeMessage` hook, you can subscribe messages from React Native.
30
30
-`emit` function sends message.
31
31
- Support bundling some assets in web side with [ES6 import syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)
32
32
-`.json` is imported as an object, like require in Node.js.
0 commit comments