You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
// these typings come from the `compose` functiontypePairModel=[CounterModel,CounterModel];typePairEffect=[?CounterEffect, ?CounterEffect];typePairEvent=[?CounterEvent, ?CounterEvent];constpair: IConfig<PairModel,PairEffect,PairEvent,CounterView>=compose(counter,counter)typeTopModel={count: number;
pair: PairModel;};typeTopConfig=IConfig<TopModel,PairEffect,PairEvent,CounterView>;
Reference: evancz/elm-architecture-tutorial#50
We need 3 ingredients:
compose(app1, app2)
function in order to compose 2 appsPrelude:
tom
typings#1. The base app: a simple counter
Implementation
Typings
#2. The
compose
functionImplementation
Typings
#3. The top level component
Implementation
Typings
/cc @slorber
The text was updated successfully, but these errors were encountered: