mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
redundant
This commit is contained in:
@@ -287,7 +287,7 @@ First a version *without* recompose:
|
||||
```
|
||||
|
||||
This displays a clock which updates once a second.
|
||||
The code is quite straightforward, but note how we format the time in two places: `compose()` *and* `watch_time()`.
|
||||
The code is straightforward, but note how we format the time in two places: `compose()` *and* `watch_time()`.
|
||||
We can simplify this by recomposing rather than refreshing:
|
||||
|
||||
=== "recompose02.py"
|
||||
|
||||
Reference in New Issue
Block a user