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
- hx for using and creating React components
- appliedsciences/js-interop for reading JS objects easily
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.
Copyright 2019 Will Acton. Licensed MIT