tidb-dashboard
tidb-dashboard copied to clipboard
use useSWR or react-query
Feature Request
Is your feature request related to a problem? Please describe:
Now we have useClientRequest. However it has several problems:
- Does not support cache in nature
- 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: