Replacing this with a real type provides the opportunity to create some default handlers for common tasks, such as a handler that automatically updates a binding to some state.
It could also have an animation modifier that returns a new handler that wraps the original in a withAnimation closure.
Replacing this with a real type provides the opportunity to create some default handlers for common tasks, such as a handler that automatically updates a binding to some state.
It could also have an animation modifier that returns a new handler that wraps the original in a withAnimation closure.