package
0.22.0
Repository: https://github.com/mokiat/lacking.git
Documentation: pkg.go.dev

# Functions

BindProperty is a hook that binds the current Component to the specified Property.
Dispatch propagates the specified Action through the chain of Reducers registered on the specified Scope.
No description provided by the author
IsChange checks whether the specified Change or any of its parents is equal to the target Change.
NewChange creates a new Change instance with the specified description.
NewEventBus creates a new EventBus instance.
NewObservable creates a new Observable instance.
No description provided by the author
SubChange creates a new Change that extends an existing Change and adds the specified description.
UseBinding is a hook that binds the current Component to the specified Observable.
UseReducer extends the specified Scope with the specified Reducer.
No description provided by the author

# Variables

No description provided by the author

# Structs

EventBus is a mechanism to listen for global events from within your components.
MultiChange represents a Change that groups multiple other Changes.
No description provided by the author

# Interfaces

Action represents an arbitrary operation that can be performed by a Reducer.
Change represents a notification that something has changed.
Observable represents something that can be observed for changes.
Reducer represents an algorithm that can process actions.
Subscription represents an association of a Callback function to an Observable.

# Type aliases

Callback is a function to be called when a Change is received by the Subscription.
CallbackFunc is a mechanism to be notified of an Event.
Event represents an arbitrary notification event.
ReducerFunc is a helper func wrapper that implements the Reducer interface.