Skip to content

Consider throwing error if initialState is not an object #34

@ryanbethel

Description

@ryanbethel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions