beefsquatch

joined 1 year ago
[–] beefsquatch@programming.dev 4 points 4 months ago (1 children)

I've been happy with it, I have it setup with drag scroll and some extra code from reddit to reduce the sensitivity of drag scroll. I bought the fully assembled version. I do wish it was easier/possible to get a different colored ball

[–] beefsquatch@programming.dev 3 points 4 months ago

{"name": undefined} is also different, checking with something like hasOwn

[–] beefsquatch@programming.dev 17 points 5 months ago (1 children)

Depends on how cool they are

[–] beefsquatch@programming.dev 6 points 6 months ago (7 children)

I hate the term web5 but the tech stack described here is much better than anything else I've seen. https://developer.tbd.website/projects/web5/

[–] beefsquatch@programming.dev 4 points 6 months ago

One could even say... too much tuna?

[–] beefsquatch@programming.dev 2 points 6 months ago

stair city over here

[–] beefsquatch@programming.dev 1 points 6 months ago (1 children)

It is! I have most of their other records too haha

Yeah I keep meaning to get some stands but can't find ones I like

[–] beefsquatch@programming.dev 11 points 6 months ago

He's never even set foot in a gym!

[–] beefsquatch@programming.dev 2 points 8 months ago

Sometimes you do want state variables in the dep array. Not super often but it does happen.

And you shouldn't just always use an empty array. That creates fragile components. Even for effects that you want to just run once. Always follow the eslint rule

[–] beefsquatch@programming.dev 7 points 8 months ago (2 children)

You're updating state, that your effect hook depends on, within the hook. So every time the state is updated the effect is run, which updates states which runs the effect etc.

You should use something like react query to handle async data

[–] beefsquatch@programming.dev 3 points 8 months ago

I feel like x-files is like that too. It mostly looks great on Blu-ray but the CGI shots don't hold up lol

view more: ‹ prev next ›