@jonn @yaeunerd So what do you think about signals? Where the dependencies don't need to be declared.
```tsx
useSignalEffect(() => {
// calling `.value` makes this effect run each time signal value changes
const value = signal.value;
// using `.peek()` allows getting signal value without subscribing effect to changes
const anotherValue = anotherSignal.peek();
});
console.log(value, anotherValue);
```
Even better: change in a signal does not necessary mean a render needs to occur.
@virtulis just a funny toot. Make sure it doesn't have dependent types and actor model!
@yaeunerd tbh I just love how they handled hook dependencies! It's just beautiful.
@yaeunerd I just re-learned React recently, so for me useEffect made perfect sense, specifically as modelling relation between an effect (external system) and some dependencies.
To me it kinda felt a lot like #PureScript's Eff monad? Idk.
Maybe I like it because I don't understand it, but I'm tempted to read the code of useEffect to learn.
Am seriously considering designing a new Rust-based VM language.
Hope to find something else to fixate on before there's any progress, otherwise who knows what can happen.
(no actual work, that's what)
Luckily, while I have extensive experience in thinking how a cool new language should work, I've never actually made any. Fingers crossed, I'll give up this time too.
@upol I Ate'nt Dead
This is hands-down the best and the most supplement by me when it comes to running #Fantasy #RPG, be it #OSE or #IcyNSR.
https://www.drivethrurpg.com/en/product/13113/grain-into-gold
Omg, my #NeoVIM just hung. WTF
While males can't be feminists, just feminist allies, as an ally, I would like to remind all Westerners that we don't have equality in safety and we don't have equality in autonomy.
Please, if you're a feminist or a feminist ally, consider radicalising. Only radical feminism (inclusive of transgender people, of course) can be a force of justice in the face of pieces of shit like these men.
P.S.
I understand that it means that I can / will get punched or worse, but it's okay.
#Solar giving a lot of respect for #Clem.
Also, from #F1 to #StarCraft. Well done, #Tezos! Good sponsorship decisions (almost unironically).
@MAKS23 you can buy those in any Bulgarian military shop!
#UK and #France have greenlit the use of storm shadows in #Russia. US overruled it
What is the #USA doing?
I don't think it is frightened of #Russian nukes, nor involvement of Belarus/ Baltics/ escalation, etc
My opinion is it is election year games
Keeping things on a low simmer to prevent anything terrible that could swing the election
But this is a price being paid for in #Ukrainian lives
#Europe: please do what you can, our politics sucks
That https://doma.dev guy
#lean #rust #typescript #react #nix
In my non-existent free time I design and run #TTRPG
If you use tools made by genocide-apologists, you are a genocide-apologist.
#lemmy users aren't welcome here.