Open
Description
Is your feature request related to a problem? Please describe.
Update useFetch
hook to improve existing lookup logic.
Describe the solution you'd like
Refactor useFetch
and calling code according to SOLID principles.
Implementation
- Update hook to return function for fetching remote data.
- Improve modularity by using DI for error handling and response mappers.
Describe alternatives you've considered
Leave as is.
Additional context
N/A.