Reactivity documentation incorrect
In the reactivity documentation manual page refresh is controlled described as controller by trigger_refresh. The Page and Component classes do not appear to have this method
```
class MyComponent(Component):
# The UI will no longer refresh on state changes
redraw_on_changes = False
def something_happened(self):
# This can be called to manually refresh this component and its children
self.trigger_redraw()
# Or, you can redraw the whole page
self.page.trigger_redraw()
```
0 条评论