Read the blog post: https://textual.textualize.io/blog/2022/11/08/version-040/#version-040
[0.4.0] - 2022-11-08
Changed
- Dropped support for mounting "named" and "anonymous" widgets via
App.mount
andWidget.mount
. Both methods now simply take one or more
widgets as positional arguments. DOMNode.query_one
now raises aTooManyMatches
exception if there is
more than one matching node.
#1096App.mount
andWidget.mount
have newbefore
andafter
parameters #778