Another option would be to do:
export default hydrate(import.meta.url)
It is quite clean in my opinion, as it explicitely declares what the client is looking for (the module url)
Great ideas! Fixed!
I'm also going to copy what I mentioned on discord: loader
and action
could be merged (what about just using handler
) ?
Great idea! Feel free to fork this val and the framework val and fix em both, and send me the two PRs and I'd merge em!
Not a fan of this line, as it will not survive forks. I think this val could be used instead: https://www.val.town/v/andreterron/inferRequestVal