How do people write JavaScript API clients?

I’m curious - is there any standard for writing JavaScript clients to work with DRF APIs? Say for integrating into a React SPA or similar.

I’ve been looking at drf-spectacular which is great for generating the OpenAPI3 schema, but even with the schema there doesn’t seem to be any simple/standard way of writing JavaScript code against it, apart from maybe generating a client myself.

Are there any other recommendations or tools that are good for this?