We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove the axios importance inside the component import axios from 'axios';
import axios from 'axios';
import the cities's query form the queries file import queryCities from '../query'
import queryCities from '../query'
import the graphql from the react-apollo import {graphql} from 'react-apollo';
graphql
react-apollo
import {graphql} from 'react-apollo';
bind the query to the component so that you can access it from the props of component using graphql : export default graphql(queryCities)(Filter);
export default graphql(queryCities)(Filter);
In the componentDidMount :
componentDidMount
The text was updated successfully, but these errors were encountered:
resolve conflict
4ea3a39
Relates #4
reseve cities with graphql and handle it in state and ctreate query a…
6999adf
…nd handle error Relates #4 #5
MohammadAlhalaq
No branches or pull requests
remove the axios importance inside the component
import axios from 'axios';
import the cities's query form the queries file
import queryCities from '../query'
import the
graphql
from thereact-apollo
import {graphql} from 'react-apollo';
bind the query to the component so that you can access it from the props of component using graphql :
export default graphql(queryCities)(Filter);
In the
componentDidMount
:The text was updated successfully, but these errors were encountered: