Twitter | Search | |
Lenz Weber
developer at , sometimes speaker, sometimes teacher, doing mostly , and . Redux Toolkit co-maintainer
2,226
Tweets
610
Following
578
Followers
Tweets
Lenz Weber retweeted
Sarah Dayan 15h
If you're starting out with and wondering if it's worth the pain, don't give up. Once you become more fluent, I can't overstate the value you're gonna reap. I feel so confident when refactoring a complex codebase because TypeScript basically tells me what to do next.
Reply Retweet Like
Lenz Weber 9h
Replying to @FullstackDevJS
for learning redux nowadays. For an up-to-date tutorial, please use the official "essentials" guide and also read the official style guide, both from the redux documentation.
Reply Retweet Like
Lenz Weber 9h
Replying to @FullstackDevJS
Additionally this course promotes the use of redux-form, while the redux FAQ advises against using redux for forms, seems to omit the redux hooks (which are recommended over using `connect` wherever possible) and omits redux toolkit, which is the official recommendation
Reply Retweet Like
Lenz Weber 9h
Replying to @FullstackDevJS
React hooks were introduced with React 16.8. Now I have doubts.
Reply Retweet Like
Lenz Weber retweeted
Justin Falcone 10h
Replying to @modernserf
how to not hate your linter: - use a separate tool for formatting - error only for "this could not possibly work", warn for "are you sure this is a good idea?" - `// eslint-disable-line` means "yes, i'm sure"; use it thoughtfully but don't consider it a defeat
Reply Retweet Like
Lenz Weber 14h
This simply does not work unless you use some type of code generation that generates runtime code from your types. (This is possible with babel macros)
Reply Retweet Like
Lenz Weber Oct 21
Very nice article showing up some advanced concepts such as phantom types. If you are writing a library, this might be interesting for you. Or just for typing your api, like they suggest.
Reply Retweet Like
Lenz Weber retweeted
🎃 Josh-o-lantern Oct 21
📝 Just published a new article: "Hands-Free Coding: How I program using dictation and eye-tracking". It's an inside look at how modern technology allows me to be productive using a computer without a mouse/keyboard. 🚫🐁⌨️
Reply Retweet Like
Lenz Weber Oct 20
Replying to @jdetle
Typsicherheitsmeinungsumkehrer (Type security opinion reverter)
Reply Retweet Like
Lenz Weber Oct 19
Replying to @suchipi @tannerlinsley
There's still a level of weirdness after that ^^. Until we dropped support for TS 3.4, we had types that feature-detected the TypeScript version and acted upon that in redux toolkit. I'd say I'm not proud of it, but I kinda am 😅
Reply Retweet Like
Lenz Weber Oct 19
A good (though very complex) library type can make so many "product code" types obsolete - and greatly improve DX through better autocomplete & co. It's usually worth the tradeoff.
Reply Retweet Like
Lenz Weber Oct 19
You will reach that level of dangerously enjoying it :)
Reply Retweet Like
Lenz Weber Oct 17
Just a quick reminder: you are expected to overengineer things after the third refactor, not on the first prototype.
Reply Retweet Like
Lenz Weber Oct 16
Replying to @ZoltanKochan
Does it at least honor optional peerDependencies via dependencyMeta.optional = true ?
Reply Retweet Like
Lenz Weber retweeted
Mayflower Oct 16
Gleich geht es los! Emanuel und Lenz sprechen online mit Euch über das Thema "Testing". Wenn Ihr Euch noch ein paar Impulse holen wollt, meldet Euch noch schnell an:
Reply Retweet Like
Lenz Weber retweeted
🎃 Josh-o-lantern Oct 15
As some of y'all know, I've been coding hands-free for a while now. I'll be releasing a blog post about it soon, but here's a quick sneak peak! (Sound on plz! 🔊)
Reply Retweet Like
Lenz Weber Oct 15
Replying to @kentcdodds
Good. While it's inbsightful to see how they work inside, my first thought seeing this (without your added context) was "how far do you go reimplementing a state management library just to not use a state management library?"
Reply Retweet Like
Lenz Weber Oct 15
Replying to @donavon
Rename that Order type on import, just in this one component file?
Reply Retweet Like
Lenz Weber retweeted
Kent C. Dodds 🚀 Oct 13
Ready to have your mind blown? Huge shoutout to , (creator of ), , , and 👏 I love the community and innovation. Y'all are fantastic people.
Reply Retweet Like
Lenz Weber Oct 14
Replying to @ehrenb3rg
Trans-Mann. Andersrum wäre es ja wie ein dauerhaftes Deadname-Nutzen, wenn man über die Person sprechen würde.
Reply Retweet Like