ЮВ
Size: a a a
DI
ЮВ
ДР
const ME_QUERY = gql`
{
me {
id
name
}
}
`
sync componentDidMount() {
const { data: { me } } = await this.props
console.log('me', me)
}
DO
AM
const ME_QUERY = gql`
{
me {
id
name
}
}
`
sync componentDidMount() {
const { data: { me } } = await this.props
console.log('me', me)
}
AM
AM
AM
ДР
AM
AM
ДР
const { data: { me } } = await this.props.client.query({ query: ME_QUERY })
DO
ДР
this.props.getMe(me)
DO
DO
V
V