useQuery does not trigger when a variable in input object is set to undefined or empty string

前端 未结 0 934
慢半拍i
慢半拍i 2021-01-07 06:40

I have a query that takes input params, say date

  const { loading, data, error } = useQuery(GET_LIST, {
    variables: {
      input: {
        date: date,
          


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