Antanas A.
05/23/2019, 2:15 PMgildor
05/23/2019, 2:17 PMAntanas A.
05/23/2019, 2:23 PMUnlike ReactJS, a Binding.scala @dom method is NOT a regular function. It is a template that describes the relationship between data source and the DOM. When part of the data source changes, Binding.scala knows about the exact corresponding partial DOM affected by the change, thus only re-evaluating that part of the @dom method to reflect the change in the DOM.
karelpeeters
05/23/2019, 3:47 PMLeland Richardson [G]
05/23/2019, 4:49 PMChuck Jazdzewski [G]
05/23/2019, 4:53 PM@Composable
function is transform function from its parameters to a mutable tree. In Compose the tree represents the UI of an application. The tree is responsible for tracking when it is modified as a result of composition to track when and where the screen should be updated.Antanas A.
05/23/2019, 5:09 PMRyan Mentley
05/24/2019, 3:28 AM