A small feature that we can add to the form fields, to make it more clear whenever the field is fetching data. We can also set it to disabled when isFetching. With RTK we can just use the isFetching variable.
For example:
const {data, isFetching, error: fetchError} = useVlansByServicePortQuery(...)
A small feature that we can add to the form fields, to make it more clear whenever the field is fetching data. We can also set it to disabled when isFetching. With RTK we can just use the isFetching variable.
For example: const {data, isFetching, error: fetchError} = useVlansByServicePortQuery(...)