Replies: 1 comment 1 reply
-
Thanks, @ElMassimo, I'm glad this little project is helpful - and it's great to see that you build a Vite fork :) However, I'm not quite convinced about js_from_routes yet. Your PR contain's LOTS of code, which of course seems mainly be auto generated. But I'm afraid of all the setup code required in the Currently I still like the old js-routes way and see no reason why to switch. Better ESM imports is a thing, but IMHO it' not a big deal to load all routes in one chunk. The Nevertheless, thanks a lot for your interest in this project - and please tell me If I totally missed something about |
Beta Was this translation helpful? Give feedback.
-
Hi @ledermann, first of all, thanks for writing and sharing this demo, it works great!
I wanted to ask you if you would be interested in accepting this pull request.
As I mention in its description, it allows to go from:
to:
and requires no additional runtime dependencies (plus the generated code is smaller and code-splittable).
Let me know what you think, didn't want to open a pull request without first asking 😃
Beta Was this translation helpful? Give feedback.
All reactions