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
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,15 +143,13 @@ The `com.huanshankeji.compose.material.icons.Icon` class delegates to both kinds
143
143
144
144
### ViewModel
145
145
146
-
The ViewModel module currently supports a small subset of the Compose ViewModel APIs, and delegates to raw UI state on
147
-
Compose HTML / JS DOM. These APIs are highly experimental now.
146
+
The ViewModel module currently supports a subset of the Compose ViewModel APIs. For ViewModel to work properly on Compose HTML / JS DOM, call `com.huanshankeji.compose.ui.window.renderComposableInBodyWithViewModelStoreOwner` instead of `org.jetbrains.compose.web.renderComposableInBody` on JS. These APIs are experimental now.
148
147
149
148
### Navigation
150
149
151
150
The navigation module currently supports a small subset of the Compose Navigation APIs, which does not support
152
-
transition or animation on Compose HTML / JS DOM. These APIs are also highly experimental now.
153
-
See [CMP-4966](https://youtrack.jetbrains.com/issue/CMP-4966) for a bug to avoid. Also, ViewModel-related functions
154
-
are not implemented yet on Compose HTML / JS DOM.
151
+
transition or animation on Compose HTML / JS DOM. These APIs are also experimental now.
152
+
See [CMP-4966](https://youtrack.jetbrains.com/issue/CMP-4966) for a bug to avoid.
0 commit comments