state-management
state-management
combine
@diegolavalledev Jan 19, 2020
Bindings are used to pass parts of our state down to a subview that might later on make changes to said state. We typically rely on the @State
and @Binding
property wrappers to generate bindings for us but bindings can also be constructed programmatically. In fact there’s a handful of cases in which creating bindings in an on-demand manner may just be the preferred option.