apollo-cljs-example
apollo-cljs-example copied to clipboard
apollo-cljs-example
apollo-cljs-example
This is an example of using Apollo GraphQL's React client in a ClojureScript browser application.
The example code is the result of following along the react-apollo Getting Started guide.
It uses the following libraries & tools:
- shadow-cljs for compiling ClojureScript to JS
- helix for using and creating React components
- cljs-bean for interoping with JS objects easily
- @apollo/react-hooks
- apollo-boost
Development
git clone https://github.com/Lokeh/apollo-cljs-example.git
cd apollo-cljs-example
npm start
This will clone the repo and start the shadow-cljs build server.
Navigate to http://localhost:8700 to run the application.
License
Copyright 2019 Will Acton. Licensed MIT