A parameterless constructor is required on state for determining the initial state, and can be private or public.
I meant to define the reducers on the F# side, and had intended to define feature state as records, but then I read this line. Unfortunately, it is not possible to define a constructor on an F# record. Is there a way to get around this restriction?
I meant to define the reducers on the F# side, and had intended to define feature state as records, but then I read this line. Unfortunately, it is not possible to define a constructor on an F# record. Is there a way to get around this restriction?