Jellyhead (@thisisJellyhead) profile picture
Joined May 2022
Photo by Jellyhead (@thisisJellyhead)Photo by Jellyhead (@thisisJellyhead)
Jellyhead retweeted
FUCK. TIMEZONES. WITH. A. STEAK. KNIFE
6
5
2
120
24,601
Life Hack: If you ever get tired of having to boil water every time you want to make pasta, boil a bunch at the beginning of the week and freeze it for later
498
1,286
120
11,545
1,268,849
TypeScript 5.0 Beta is now out to try! 🚀 Now with ES decorators, better modes for modules in Node & bundlers, new inference tools for library authors, JSDoc support - and last but not least, some great speed and size improvements! devblogs.microsoft.com/types…
28
367
47
1,419
270,019
type FooOrString = 'foo' | String
2
1
5
Screw you guys, I’m going home
691
13,048
546
158,271
Still love this one. Unit testers be like: "Looks like it's working" nitter.gq/kentcdodds/status/6286…
26
2,383
41
2,159
Jellyhead retweeted
I saw this pattern first in a @t3dotgg rant on youtube 😅. It's really good. The schema is zod. Also, really really good:
useQuery( ['todos'], async () => { const { data } = await axios.get('/todos') return todoSchema.parse(data) } ) this infers type for `data`, and puts your query into `error` state if validation goes wrong.
3
7
108
If you use mocks, you are not testing.
128
38
52
441
Jellyhead retweeted
We just published a FREE full-length book: Java for Beginners ☕️ Written by software engineer and prolific freeCodeCamp contributor @frhnhsin. You'll learn: 🤖 The Java Virtual Machine 🔣 Java IDEs 🪵 Data Types 🏗️ Operators 🛠️ and more Bookmark it. 🔖 freecodecamp.org/news/the-ja…
5
82
3
362
Jellyhead retweeted
We've updated the Next.js Layouts RFC. Here's a summary of the new proposed features. 1️⃣ New optional files that make it easy to add nested loading and error UI. We expect most of your app will use `page.js` and `layout.js`, but you can reach for these other files if needed.
27
204
33
1,417
"Ask a programmer to review ten lines of code, he’ll find ten issues. Ask him to do five hundred lines, and he’ll say it looks good." - Gene Kim, The DevOps Handbook.
41
637
67
6,579
Just received shoes from @LazadaID . After i received them i clicked received. The nike is wrong size and look fake. Turns out I am not allowed to return because I confirmed received. Terrible customer service #Lazada #sucks
1
I've seen some confusion around this topic lately: the Native part in React Native stands for native.
10
47
6
368
Jellyhead retweeted
If you are looking for jobs, internships and opportunities in the Web3 space. Reply with "👋" and RT. I'll DM you the notion doc.
522
213
10
590