Skip to content

Commit d0d6a81

Browse files
authored
Update README.md
1 parent 9b91946 commit d0d6a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ val rootView = {
143143
render(documet.body, rootView)
144144
```
145145

146-
Even though adapters from this repository provide the flexibility to choose to create UI in either React or real DOM, to maximize the benifits from the Binding.scala's precise data-binding, `BindingReactToReact` users are recommended to neither define any React components nor use any React hooks. Instead, the application states can be managed by Binding.scala, and let `BindingReactToReact` React components be instantiated implicitly, when using existing React components.
146+
Even though adapters from this repository provide the flexibility to choose to create UI in either React or real DOM, to minimize the cost due to React rerendering, `BindingReactToReact` users are recommended to neither define any React components nor use any React hooks. Instead, to take the advantage of Binding.scala's precise data-binding, manage the application states in Binding.scala, and let the `BindingReactToReact` React components be instantiated implicitly, when using existing React components.
147147

148148
Because React's virtual DOM does not support partial update provided by Binding.scala's `BindingSeq`, create your own HTML UI as `@html` literals or `html"..."` interpolations, if the overhead due to React's virtual DOM differentiation matters.
149149

0 commit comments

Comments
 (0)