Tobias Lehwalder

254 posts

Tobias Lehwalder banner
Tobias Lehwalder

Tobias Lehwalder

@tlehwalder

software engineer 🧑‍💻 react, javascript & typescript ⚡️

Frankfurt 参加日 Kasım 2017
560 フォロー中92 フォロワー
Tobias Lehwalder がリツイート
Matthias
Matthias@matthiasendler·
Here's the post I wish I had when I first started programming. If you know someone just beginning to code (especially students), maybe pass this along? Would've saved me a lot of head-scratching and "why didn't anyone tell me this earlier?" moments. endler.dev/2025/best-prog…
English
0
14
33
2.2K
Tobias Lehwalder がリツイート
Matt Pocock
Matt Pocock@mattpocockuk·
Node 22.6.0 just added TypeScript support 🔥 if you're planning to use it, you'll need these two lines in your tsconfig.json. Brief explainer in a 🧵
Matt Pocock tweet media
English
32
297
2.2K
210.8K
Tobias Lehwalder
Tobias Lehwalder@tlehwalder·
@leeerob @nextjs It's no issue, but i can't find a config or something simple without writing error boundaries and stuff. custom logs are straight forward, but logging everything nextjs logs in json logs, errors, infos, etc (for better usage in i.e. datadog) isn't.
English
0
0
1
35
Tobias Lehwalder がリツイート
Wes Bos
Wes Bos@wesbos·
Yessssss! Node just shipped the ability to run TypeScript files directly!
English
88
423
3.3K
217.7K
Tobias Lehwalder がリツイート
ludwig
ludwig@ludwigABAP·
This dude implemented the websocket protocol from scratch in C -- 700 views, kino $2 microphone, really great walkthrough and code on github
ludwig tweet media
English
12
532
10.7K
9.2M
Tobias Lehwalder
Tobias Lehwalder@tlehwalder·
@housecor Have you already had use cases where you had to share state between multiple tabs? What tech would you recommend for this? And what is your opinion on RxDB for global state management?
English
0
0
1
123
Cory House
Cory House@housecor·
How I typically handle React state today: Data fetched via HTTP: React Query. Local state: useState or useReducer. Forms: useState or React Hook Form. Global state and functions: Zustand or Jotai.
English
31
44
728
54.3K
Wes Bos
Wes Bos@wesbos·
How do you implement feature flags in your application? Do you use any apps or have any approaches?
English
444
43
1.1K
420.4K
Tobias Lehwalder がリツイート
Axel Rauschmayer (also on 🦣)
My books are free to read online: – Exploring JavaScript (ES2024 edition) – Deep JavaScript – Tackling TypeScript – Shell scripting with Node.js Retweets appreciated! exploringjs.com
Axel Rauschmayer (also on 🦣) tweet mediaAxel Rauschmayer (also on 🦣) tweet mediaAxel Rauschmayer (also on 🦣) tweet mediaAxel Rauschmayer (also on 🦣) tweet media
English
9
195
493
42.1K
Tobias Lehwalder がリツイート
Cory House
Cory House@housecor·
Code smell: Setting state twice in a row Example: Solution: Eliminate showDialog state. Derive state instead. If userToEdit has a value, show the dialog. If userToEdit is null, hide the dialog. Benefits: -Less state to manage -Avoids illogical combinations (it's illogical for userToEdit to be null when showDialog is true).
Cory House tweet media
English
22
12
242
25.8K
Tobias Lehwalder がリツイート
Tuta
Tuta@TutaPrivacy·
Tutanota is now Tuta! 🥳 All of the features you have come to know and love, now with a sleek new domain name. 😎 Threats to your privacy won't be going away, but neither are we. 💪 Learn more and create your new Tuta account here 👇 tutanota.com/blog/tutanota-… #privacy #email
Tuta tweet media
English
36
49
396
26.3K
Tobias Lehwalder がリツイート
jess
jess@_jessicasachs·
jess tweet media
ZXX
41
441
3.9K
268.9K
Tobias Lehwalder がリツイート
happydecoder
happydecoder@happydecoder·
𝗟𝗲𝗮𝗿𝗻 𝗝𝗪𝗧 𝗹𝗶𝗸𝗲 𝘆𝗼𝘂'𝗹𝗹 𝗻𝗲𝘃𝗲𝗿 𝗳𝗼𝗿𝗴𝗲𝘁. 🧵
happydecoder tweet media
English
39
308
1.7K
253.4K
Tobias Lehwalder
Tobias Lehwalder@tlehwalder·
@_georgemoller Nice approach. Looks clean but adds complexity, which can be confusing for new developers in the project. Provider hell is maybe ugly but straight forward.
English
0
0
0
50
George Moller
George Moller@_georgemoller·
❌ Avoid Provider wrapping hell in React. ✅ Instead combine all your Providers using composition.
English
70
361
2.5K
256.6K
Mock Service Worker 🇺🇦
Mock Service Worker 🇺🇦@ApiMocking·
@tlehwalder Thank you, Tobias! And with MSW 2.0 you won't believe how natural it feels to describe any network, be it communication with a RESTful or GraphQL API. Can't wait for you to try it out.
English
1
0
2
258
Tobias Lehwalder がリツイート
Cory House
Cory House@housecor·
Problem: You need to represent an empty number. Hack: Use 0, -1, or "". The real solution: Use null. That's what it's for. Null says, "This has no value". 0, -1, and "" are a lie.
Cory House tweet media
English
57
36
386
85K
Tobias Lehwalder がリツイート
Cory House
Cory House@housecor·
Problem: 🚫 Your project has unused files. 🚫 It has unused npm dependencies. 🚫 It has unused TypeScript exports. But you haven't noticed, because these things are hard to spot. Solution: knip I just used knip to find and resolve dozens of issues. github.com/webpro/knip
English
14
147
910
107.3K
Tobias Lehwalder がリツイート
Jecelyn Yeen 🐟
Jecelyn Yeen 🐟@jecfish·
🤩 [1/4] Coming soon in @ChromeDevTools - You can overrides API response (Fetch/XHR) and more! Imagine you can mock APIs in frontend without waiting for the backend changes! Not only that...
Jecelyn Yeen 🐟 tweet media
English
61
490
2.7K
453.7K