Services: return a class or create function?

In part 16 of “Connecting the Backend” in the React 18 for Beginners (see repo), for his HttpService, Mosh exports create as his default, instead of just exporting the HttpService class. In the video, it’s only explained why he exports this create function instead of creating a singleton instance of the class and exporting that, but why not just export the class definition and let the consumer of the import call it with something like new HttpService('/users') instead of create('/users').

My best guess is that it’s more terse and abstracts away the implementation particulars of the class (e.g., you could change the class name or get rid of the class and refactor into something functional without affecting other code), but I’m uncertain if this is the reason Mosh is doing it. Is there some other compelling best practice driving this decision, or is it aligned with my thoughts above?