- 2 Posts
- 15 Comments
{"name": undefined}is also different, checking with something like hasOwn
beefsquatch@programming.devto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Recommended something to a co-worker yesterdayEnglish
18·2 years agoDepends on how cool they are
beefsquatch@programming.devto
Lemmy Shitpost@lemmy.world•I am the thing that goes *thump* 'Fuck!' in the night
2·2 years agostair city over here
beefsquatch@programming.devto
React@programming.dev•How do you find the source of an infinite re-render?
2·2 years agoSometimes 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.devto
React@programming.dev•How do you find the source of an infinite re-render?
7·2 years agoYou’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.devto
Lemmy Shitpost@lemmy.world•Brought to you by the vertical mouse gang
1·3 years agoPloopy Classic, it’s a modern version of that. Open source software (QMK) and hardware
beefsquatch@programming.devto
Programmer Humor@programming.dev•GitHub Desktop or Git CLI?
11·3 years agoSublime Merge, for most items in the UI it tells you the git command it will use
beefsquatch@programming.devto
linuxmemes@lemmy.world•Driving an AE86 apparently feels just like using wayland with NVIDIA
29·3 years agoI’ve been using Wayland for about a year on and off with Voidlinux on the framework 13. Everything’s pretty much worked from the start besides screen sharing which was a void specific issue that’s been patched
beefsquatch@programming.devto
JavaScript@programming.dev•ESLint announces deprecation of formatting rules
5·3 years agoI’ve been using prettier from eslint, with eslint-plugin-prettier. Then I just need to run eslint and have the eslint vscode extension
beefsquatch@programming.devto
Futurama @lemmy.world•Season 8 Episode 10 - All The Way Down [Discussion and Spoilers]English
61·3 years agoThis one was really good! For sure my favorite of the season
I usually wrap Reach’s Dialog https://reach.tech/dialog so things like focus, esc, scroll, etc. are all handled out of the box. It’s a controlled component that uses a div and Portal rather than a
dialogtag
How do you like RSC?
beefsquatch@programming.devto
Web Development@programming.dev•Typescript 5.2 beta announcement
2·3 years agoLooking forward to the comma completion, I do that all the time
beefsquatch@programming.devto
Selfhosted@lemmy.world•Best services to self host with a Raspberry Pi 4? (4GB RAM)English
3·3 years agohttps://github.com/marchah/pi-htpc-download-box this is great! I have a Plex server running on my shield pro

Ohhh I didn’t realize it didn’t matter if it was accessed over the network with samba. This’ll just be on a Debian server