[][src]Module euca::app

A wasm app in the structure of The Elm Architecture.

The app is represented by a model which is the state of the app, a function that accepts user defined messages and updates the model, and a function which renders the model into a virtual dom representation.

Because the update and render portions of the app are completely separated, it is trivial to test these in isolation.

Re-exports

pub use crate::app::detach::Detach;
pub use crate::app::model::Update;
pub use crate::app::model::Render;
pub use crate::app::dispatch::Dispatcher;
pub use crate::app::side_effect::SideEffect;
pub use crate::app::side_effect::Processor;
pub use crate::app::side_effect::Commands;
pub use crate::app::application::Application;
pub use crate::app::application::ScheduledRender;

Modules

application

Abstraction of a wasm application.

detach

Detach an app from the DOM.

dispatch

Dispatch messages via a shared app handle.

model

Traits to implement on a model to allow it to interact with an application.

side_effect

SideEffects and code to Process them.

Structs

AppBuilder

Struct used to configure and attach an application to the DOM.