[FEATURE] Create a custom hook for async queries #1503
Open
Description
Is your feature request related to a problem?
Currently 3 plugin components make direct queries to S3. Not having a high level function creates a lot of issues on code duplication and long term maintenance. Creating a custom hook for async queries will help solve these issues
- Create a custom hook for async queries
- Re-use hook in datasources plugin component
- Re-use hook in integrations plugin component
- Re-use hook in explorer plugin component