create-bar-project
Version:
This module helps create a base for web application projects.
14 lines (7 loc) • 477 B
Markdown
# Apollo
(_only apollo projects_)
Apollo is a state managment library that uses graphQL for requests and data.
To use a graphQL apollo state you can use the `useQuery` and `useMutation` hooks in your components.
Your queries you can write in the `Logic` folder, while all the state data is in the `Apollo` folder.
Examples are in the Apollo projects in pages like `ChangeTheme` or `Table`.
for more info, see [here](https://www.apollographql.com/docs/react)