@cycle/state Reducer to expect defined state?
Author: mightyiamCreated Aug 28, 2020Updated Sep 14, 2020
Is this exported Reducer meant to be imported and used in apps? I find that in my app I would like to have a reducer type where state is always defined:
type Reducer<T> = (state: T) => TCould we have a separate API for instantiating state, somehow, so that a Reducer could assume positive existence of state?
Source: cyclejs/cyclejs