Brenelz
@brenelz.com
390 followers 530 following 410 posts
TypeScript developer working on open source projects and blogging @solidjs.com advocate @tanstack.com contributor brenelz.com/posts
Posts Media Videos Starter Packs
brenelz.com
yeah that would probably be more common
brenelz.com
Interested in your thoughts after playing with it
brenelz.com
In the demo there is this example

events(drummer, [
Drummer.change(() => this.render())
]);

This is one case where you aren't setting a variable so it would be easy to forget to call render?
brenelz.com
Enjoyed your viteconf talk
brenelz.com
Thanks. I was just a bit confused because tanstack db has the concept of live collections too
brenelz.com
@mk.gg live collections in astro is request time right? Its not live in the sense of websockets
brenelz.com
thats fair. It's also fair to say its not "just javascript" anymore?
brenelz.com
I definately agree the run-once setup scope is so nice
brenelz.com
So an interesting observation. To derive data in Remix 3 you wrap it in a function in the setup scope

let count = 1;
let doubled = () => count * 2;
brenelz.com
Interesting
brenelz.com
Yeah this looked good for sure
brenelz.com
Adding signals would be interesting seeing as they are generally opposed
brenelz.com
That is interesting cause wrapping in a function is what you do in solid sometimes
brenelz.com
So many this week
brenelz.com
Do you have thoughts on this?
bsky.app/profile/bren...
brenelz.com
One thing I was wondering is how you derive data. Like how would you do like a double count. The setup scope runs once so can't do it there. I guess you'd do it in the press event?
brenelz.com
Musta been fun being there
brenelz.com
One thing I was wondering is how you derive data. Like how would you do like a double count. The setup scope runs once so can't do it there. I guess you'd do it in the press event?
brenelz.com
Oh I must have missed that thanks
brenelz.com
That's fair I guess would just need some unwiring of the brain
brenelz.com
Also its an mpa so no client side routing?
brenelz.com
I don't think I'd like calling this.update() manually