Skip to content

Latest commit

 

History

History

todo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Todo

Every frontend application abstraction needs a todo, so here it is!

Components

Todo

Top level component that contains child components.

Inputs

$update: Subscriber[UpdateEvent] subscriber that captures all update events happening within the Todo components

list$: Observable[Array[TodoItem]] observable that contains the list of todo items

TodoList

takes the list$ observable and renders a list of todo items. each item has a delete button that emits a delete action on $update subscriber.

Inputs

list$: Observable[Array[TodoItem]] observable that contains the list of todo items

$update: Subscriber[UpdateEvent] subscriber that captures delete events happening within the TodoList component

TodoForm

contains the input field where todo items can be added. when the user enters a todo entry and presses enter, a insert action is emitted on the $enter subscriber.

Inputs

$enter: Subscriber[UpdateEvent] subscriber that captures insert events happening within the TodoForm component

Todo dataflow