Sharing mutation state between components

后端 未结 0 1385
不知归路
不知归路 2020-12-23 02:34

Apollo allows multiple components to subscribe to the same query, yet only one network call is made.

const {data, loading, error} = useQuery(GET_USER);


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题