Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.07 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.07 KB

Apollo React + GraphQL Lodash demo

Important: Please read GraphQL Lodash README before playing with this repository.

This is the simple example of usage GraphQL Lodash with React/Apollo. Here are key elements:

  • Wrapper function that ties together Apollo React and GraphQL Lodash.
  • Example of React Component that gets props from GraphQL response transformed with lodash.

The repository is a modified version of apollographql/frontpage-react-app demo by Apollo.

Installation

Clone the repository and run npm install or yarn:

git clone https://github.com/apis-guru/react-apollo-lodash-demo
cd react-apollo-lodash-demo
npm install

Starting the app

npm start

It will open a browser window, or you can browse to http://localhost:3000.