HNHacker News
TopNewBestAskShowJobs

Phillippe

11 karma · joined November 14, 2022

submissionscomments
Phillippe··on A proposal to add signals to JavaScript
The current Svelte version does it at build/compile time. The up and coming Svelte 5 is using signals and the reactivity is moved to runtime
Phillippe··on Svelte 5: Runes
I don't mean to be rude, I'm just brainstorming. I'm sure they have thought about it I'm just commenting in the small chance that they haven't
Phillippe··on Svelte 5: Runes
Maybe reuse the $:{} here, tho that would probably be really confusing for svelte 4 developers lol

$:{ let name = 'world'; };

vs

let name = $state('world');

$: is valid javascript right? So that should also work in .js/.ts files I assume

Phillippe··on Svelte 5: Runes
I love all the changes except that single thing with let count = $state(0);

I'm just brainstorming here, but what about an optional $reactive rune where everything in that is reactive by default?

$reactive(() => { let name = 'world'; });

vs

let name = $state('world');

Phillippe··on Svelte 5: Runes
"...isn't quite right — it would break _all_ your existing code that wasn't in .svelte files."

What if it is opt-out reactivity in .svelte files and opt-in reactivity in .ts/.js files? Yeah I know it would be a bit more combersome to copy code from .svelte to .js/.ts files but I think it would be worth it

Phillippe··on Poxi: A Modern GeoCities
It is very interesting to hear! Thank you for this writeup. I don't think it will be a problem tho, to all the people I've shown it to, like 5-6 people have absolutely loved the name, you're the first person who did not like it. I've heard people say it reminds them of proxy, pokemon and toxic. This is meant for individual personal use, so It does not really matters if companies do not want to be associated
Phillippe··on Poxi: A Modern GeoCities
Hey, I'm the creator Poxi (I'm not OP). Was just wondering what you mean by this? What is wrong with Poxi?