t_scharke Profile Banner
Thomas Scharke Profile
Thomas Scharke

@t_scharke

Followers
873
Following
9K
Media
364
Statuses
3K

Software Engineer • Remote Worker • #JavaScript • #TypeScript • #React • #FullStack • Header by @gamell

Bochum, Germany
Joined November 2012
Don't wanna be here? Send us removal request.
@mjackson
MJ
6 months
React hooks are full of footguns that make it easy to introduce bugs in your code. I have trained hundreds of developers on React and how to use React hooks effectively. Here are a few of the most egregious and common ways people misuse hooks. 1/n
20
88
1K
@e_opore
Dhanian 🗯️
11 months
20 Javascript mistakes that most developers make and their solutions.
10
139
773
@t_scharke
Thomas Scharke
1 year
#TIL that default values of properties on a #React component can also be a #hook. For example: function MyComponent({state = useState(0)}) {…}
0
0
1
@GabrielVergnaud
Gabriel Vergnaud
1 year
Thinking of launching a series of short #TypeScript articles called Type Helper Explained 🤔 My goal is to: ✨ Break down real-world type helpers into bite-sized pieces ✨ Teach you advanced TS techniques along the way First up: OptionalKeysOf<T> 🎉 Link & more below 👇🧵
5
14
215
@BilliCodes
Bilal Hussain
1 year
JavaScript Design Patterns. Must Read that out!
22
132
996
@nullvoxpopuli
NullVoxPopuli
1 year
This presentation to TC39 has me *worried* for the future of JavaScript. I Do not like this phrasing. Let's dive in 👇 (1/35)
13
55
377
@Star_Knight12
Prasenjit
1 year
CSS Clamp function 🌟 -> clamp() is a function in CSS that provides a concise way for combining both the min() and max() functions. ⚠ Note: This can be achieved by this also - min(100px, max(50%, 200px))
20
139
1K
@mattpocockuk
Matt Pocock
1 year
Came up again today, so PSA: Object.hasOwnProperty doesn't narrow in TypeScript. Use 'id' in data instead.
28
53
685
@mattpocockuk
Matt Pocock
1 year
Let's talk about another crazy TypeScript trick: `T[number]`. It looks like absolute insanity. But I promise by the end of this thread, you'll know how it works. Let's go 🧵
34
133
2K
@mattpocockuk
Matt Pocock
1 year
"it's unreadable" "a maintenance nightmare" "please don't do this" Your complex types don't need to be complex to use. Let me show you 🧵
46
135
2K
@mattpocockuk
Matt Pocock
1 year
Time to talk about one of the strangest TypeScript tricks around. It's the loose autocomplete trick. And it's ACTUALLY USEFUL for app development. Let me explain 🧵
65
299
3K
@mattpocockuk
Matt Pocock
1 year
So many folks don't know about structuredClone. It's awesome, built-in, and supported in all major browsers. Let's learn 🧵
98
389
4K
@ScherhagThomas
Smartino 📯
1 year
Habt ihr ne FritzBox von AVM zuhause? Dann habe ich keine guten Nachrichten für euch, denn: "AVM von Investmentfirma gekauft" Ja und, who cares? 🤷 Doch, daß ist relevant. Sucht euch schonmal langsam einen neuen Router. Denn immer, wenn solch ein Unternehmen von einer
82
80
343
@denicmarko
Marko Denic
1 year
CSS tip: Create dynamic CSS-only tooltips, using the `attr()` CSS function.
8
21
164
@mattpocockuk
Matt Pocock
2 years
There's a bit of confusion about import type knocking around. Here's how it works:
22
92
957
@housecor
Cory House
2 years
Quiz: Let’s see how well we understand React Server Components. Here are 12 questions. Question 1: Can a client component render a server component?
17
28
284
@mgreiler
Michaela Greiler
2 years
Here are six cool AI code review tools that integrate with GitHub: 1. Bito AI Code Review Agent: Offers comprehensive automated code review solutions, focusing on identifying bugs, code smells, and security vulnerabilities in pull requests.
1
1
5
@ScherhagThomas
Smartino 📯
2 years
Brandolinis Gesetz Alberto Brandolini ein italienischer Informatiker: „Das Widerlegen von Bullshit erfordert eine Größenordnung mehr Energie als dessen Produktion.“ Ich sehe das pessimistischer. Es sind Größenordnungen (Mehrzahl). 🫤 Daraus folgt: Empfänger von Falschmeldungen
25
114
505
@nilshartmann
Nils Hartmann 🌻 @[email protected]
2 years
Hi #JavaScript Testing Friends! What are you using to mock server calls in your tests (for example with @tan_stack Query): - #nock - @ApiMocking Mock Service Worker - something else? ...and why? Thanks a lot! 😊
1
1
3
@t_scharke
Thomas Scharke
2 years
Are we moving towards to #React ~18 with #Svelte 5?
0
0
0