tidb-dashboard icon indicating copy to clipboard operation
tidb-dashboard copied to clipboard

use useSWR or react-query

Open breezewish opened this issue 4 years ago • 0 comments

Feature Request

Is your feature request related to a problem? Please describe:

Now we have useClientRequest. However it has several problems:

  1. Does not support cache in nature
  2. Only support loading data at initial time

Describe the feature you'd like:

Encapsulations over SWR and react-query may be good!

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

breezewish avatar Jul 15 '21 09:07 breezewish