Slide 11
Slide 11 text
Component Spec
Now we can create our component
spec!
Initial state is defined simply as such,
and the rest we will define as we go
along
Receiver used for inputs, which we
won’t be using
ui =
H.component
{ initialState: const initialState
, render
, eval
, receiver: const Nothing
}
where
initialState =
{ file: Nothing }