You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now API requests for data are done with useEffect hook and useState vars. It can be generalized with new useApiRequest custom hook implemented for this purpose for all components where data is requested with server API.
Example of refactoring: 7b607d1. See useApiRequest usage for more.
Further parametrization of the hook (including useApiRequest.tsx modification) may be required.
The text was updated successfully, but these errors were encountered:
Now API requests for data are done with
useEffect
hook anduseState
vars. It can be generalized with newuseApiRequest
custom hook implemented for this purpose for all components where data is requested with server API.Example of refactoring: 7b607d1. See
useApiRequest
usage for more.Further parametrization of the hook (including
useApiRequest.tsx
modification) may be required.The text was updated successfully, but these errors were encountered: