Request Function
Code
Request Arguments
A function allows requesting API data again. This function will trigger re-render.
Name | Type | Default | Description |
config | ReactUseApi.Config | The config passed from useApi() | An axios' config object to fetch API data. |
keepState | boolean | false | Set to true to maintain current state data, which facilitates combining previous data with current data, such as table list data. |
Last updated