Behaviour and macro for Cringe applications.
Summary
Callbacks
@callback handle_event(Cringe.Event.t(), term()) :: {:noreply, term()} | {:stop, term()}
@callback render(term()) :: Cringe.Document.t()
Behaviour and macro for Cringe applications.
@callback handle_event(Cringe.Event.t(), term()) :: {:noreply, term()} | {:stop, term()}
@callback render(term()) :: Cringe.Document.t()