-
-
Notifications
You must be signed in to change notification settings - Fork 28
Add support for popular routers #529
Copy link
Copy link
Open
Labels
🗄 area/interfaceThis affects the public interfaceThis affects the public interface🤞 phase/openPost is being triaged manuallyPost is being triaged manually🦋 type/enhancementThis is great to haveThis is great to have🧒 semver/minorThis is backwards-compatible changeThis is backwards-compatible change
Metadata
Metadata
Assignees
Labels
🗄 area/interfaceThis affects the public interfaceThis affects the public interface🤞 phase/openPost is being triaged manuallyPost is being triaged manually🦋 type/enhancementThis is great to haveThis is great to have🧒 semver/minorThis is backwards-compatible changeThis is backwards-compatible change
Initial checklist
Problem
Some file system based routers define types for their routes. For example:
Current solutions
Add manual type annotations.
Proposed solutions
Maybe we can detect popular frameworks such as Next.js and React Router, and inject their props type annotations automatically.
The main question is whether we should.