Overview
Returns a function that fetches the total number of accepted connections for any user, identified byuserId. This is a public endpoint — authentication is not required.
Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the user whose connection count to fetch.
Returns
Total number of accepted connections for the specified user.
Related
- useFetchConnectionsCount — get count for the current user
- useFetchConnectionsByUserId — fetch the full list

