I often get asked how to handle plain JSON requests with Inertia. For example, to populate a search select input.
The answer is simple: just use xhr/fetch and plain JSON server responses in these situations.
Not all responses in an Inertia app *need* to be Inertia responses. 👍