Skip to content

Initializing Redux State #48

@trentgoing

Description

@trentgoing

https://github.com/FinchFEC/FEC-Project/blob/bc8127a6ab80095b6f4744f5b803509c08539b27/src/client/redux/reducers/productList.js#L2-L21

The initialization of your store makes sense, however in the current setup, if the API breaks I think(?) these default values would be what is displayed. With more dev time, an upgraded experience would handle this break in a way that catches this and displays something that indicates an issue, as opposed to this hard-coded default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions