Skip to main content

prop_binding

Function prop_binding 

Source
pub fn prop_binding(component: &str, prop: &str) -> String
Expand description

The module binding holding a component’s PROP values, per instance.

★ A REPAINT MUST PASS THE PROPS AGAIN. A turn redraws the instance whose state moved by calling its render function, and that function takes the props its parent handed it — which the turn does not have. Recorded here at render time and read back at repaint, per instance, exactly as state and sites are.