DEV Community

Discussion on: Move Over Redux: Apollo-Client as a State Management Solution (with Hooks 🎉)

Collapse
 
mattdionis profile image
Matt Dionis

Great question. If this is in reference to the hard-coded JSON blob:

{
  "appBarColorSetting": {
    "id": 1,
    "name": "App Bar Color",
    "setting": "primary",
    "__typename": "AppBarColorSetting"
  }
}

...that was a choice I made just for this proof-of-concept and not something I'd actually suggest in a real-world use case.