Skip to content

Better typed fetch/$fetch and routes #2758

@pi0

Description

@pi0

Context, work, and explanation by @danielroe: #1532

We are thinking of improving (auto-generated) typed fetch. This requires adopting a new standard/reusable type utility for fetch, which @danielroe is working on. By using the new layer, we can improve performance and consistency and adopt it in several places instead of directly being in nitro core (benefiting nuxt, and in the next steps ofetch and h3 typed fetch support.)

Update: unjs/fetchdts is WIP project for better basis replacement.

Relevant linked issues: (some might be doable in next steps)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions