honox
honox copied to clipboard
Supporting auotmatic generation of `AppType` from `routes` folder
What is the feature you are proposing?
Playing around and loving honox!
I saw the discussion on issue #24 and wanted to suggests another angle.
Today if we want to use the RPC method, we have to use the method chaining.
This makes it awkward to use the routes folder since I have to manually construct the routes.
Was wondering if it'll be possible to have the build that's being done for honox exposed somewhere as a type? Something like the routegen.tree.ts file from tanstack router.
That way, we don't have to manually construct the router if we want to use RPC mode.
Hopefully I'm being clear, otherwise, happy to close the issue!
This is super interesting. I'll work on it if I have time. Thanks!