Flexbox for resolving layout fatigue and making the app responsive (open the app in desktop, mobile, whatever...). Doesn't work on IE 9, but it should not be a problem nowadays. See browsers usage.
CSS Modules: say goodbye to global scope in CSS and most of conflicts
Linting both JS and CSS, respectively by: ESLint and Stylelint
Running the app
1. This repository is the frontend for Wordpress GraphQL API Example. You need to run it first, however, you can also set up own endpoints.
2. Install Node/npm
Make sure you have Node.js installed (the app has been tested with Node 5.12.0). You can use npm or yarn for running commands (we prefer yarn, as it is faster).
3. Clone and install dependencies
git clone https://github.com/WeLikeGraphQL/react-apollo-example.git
cd react-apollo-example
yarn install
请发表评论