This comes from discussion in another issue. The API can return arrays and scalars, but the get weird in enhance SSR and then things would really go wrong if you try to add them to the store. So I think we should consider throwing an error if initialState is not an object.
This comes from discussion in another issue. The API can return arrays and scalars, but the get weird in enhance SSR and then things would really go wrong if you try to add them to the store. So I think we should consider throwing an error if initialState is not an object.