Interface ScreenItemDeclaration<Id, Input, Data, State, E, R, Actions, RL, Host>
What defineScreenItem takes: an item's id — a literal of its own, not a
ScreenId — the schema of one list entry (input), its data and state, its
enter, its visits and its actions. Host is the state of the screen the
item is shown on, as the item's host schema decodes it (undefined when it
declares none).
What
defineScreenItemtakes: an item's id — a literal of its own, not aScreenId— the schema of one list entry (input), its data and state, itsenter, its visits and its actions.Hostis the state of the screen the item is shown on, as the item'shostschema decodes it (undefinedwhen it declares none).