Alexander Prinzhorn
Alexander Prinzhorn
On my quest to find the source code for the Svelte5 REPL I ended up here. I think this issue can be closed now? https://svelte-5-preview.vercel.app/ stores state in the hash....
Found it: https://github.com/sveltejs/svelte/blob/2491eb7c8503c08693a7e72b152557668d19f54b/sites/svelte-5-preview/src/routes/%2Bpage.svelte#L32-L78
I did fix this for the rewrite I did (https://github.com/rethinkdb/rethinkdb-example-nodejs/blob/cbe726b46e40eb7e6b9c7c422ae0c08ba2ded037/todo-angular-express/app.js) which someone needs to port to promises and koa. #7
FWIW Node.js 16 has an undocumented breaking change that broke this pattern, because `close` fires as soon as the request has been consumed and not when the connection is closed...
Thanks for pointing to fastify-racing! I'm happy with what I've posted above for now. I mostly opened this issue because without such a functionality I don't understand the point of...
Any recommendation how to fix that? PRs are welcome. The code is here https://github.com/mitmproxy/mitmproxy/blob/f05c050f615b9ab9963707944c893bc94e738525/release/docker/docker-entrypoint.sh#L15-L18 https://github.com/mitmproxy/mitmproxy/blob/f05c050f615b9ab9963707944c893bc94e738525/release/docker/Dockerfile#L21
I'm just playing around with it some more and even with this little code it's already crazy. Like, rendering Svelte inside ejs? WTF? `index.ejs` ```ejs Page title ``` `_hello-world.svelte` ```svelte...
I'll leave my notes here and let you know when something cool happens. So I've played with `'svelte/register'` which hooks into `require`. But two issues arise: 1. It couldn't find...
nvm, requiring Svelte inside Svelte works now. `svelte.svelte` ```svelte export let current; import Nav from './_nav.svelte'; Hello {current.source} h1 { color: red; } ``` `_nav.svelte` ```svelte export let current; Home...
I'm done for now. I've added _very_ hacky support for hydration. Currently it requires the component to be wrapped in a `div` because I have no idea how hydration markers...