Twitter | Pretraživanje | |
Tomek Sułkowski
Engineer ⚡️· writes about , , and improving Developer Experience
2.043
Tweetovi
203
Pratim
9.794
Osobe koje vas prate
Tweetovi
Tomek Sułkowski 31 min
Odgovor korisniku/ci @Vintharas @dmitreet @mariusschulz
Aaah, great find! 🤔
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 51 min
Odgovor korisniku/ci @dmitreet
I honestly don't know. Probably. TypeScript docs are a weird thing to navigate through for me somehow. Most of the tips I share come just from the day-to-day experience, I try to keep them short and lightweight. When I already know a good resource to link to, I'll usually do it.
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 6 h
Odgovor korisniku/ci @httpJunkie
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 6 h
Odgovor korisniku/ci @devpato
There's also a `Readonly<>` generic for objects :)
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 6 h
Odgovor korisniku/ci @mpjme
Yas! 🔥
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 6 h
Odgovor korisniku/ci @mpjme @JacobMGEvans
I think I know exactly what you mean. I haven't tried a lot of typed languages but they did seem off-putting and, generally, slowing me down. It took some getting used to TypeScript but not long, and now it's like my coding co-pilot. I'd seriously love to see you try it.
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 7 h
Odgovor korisniku/ci @mpjme @JacobMGEvans
high virality in this I sense 🤔
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 7 h
tip for today: `ReadonlyArray` will make an array only permit immutable operations.
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 31. sij
tip for today: Right-click on a prop (or piece of state, hook, or context value) in React Dev Tools to copy or store it as a global variable.
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 29. sij
Odgovor korisniku/ci @tipsfordevs
👏 Looks great! Props for spreading the knowledge!
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 29. sij
Odgovor korisniku/ci @thetrompf @typescript
😅🔥
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 29. sij
Odgovor korisniku/ci @El_Extremal @typescript
Thanks! Yes, I do actually plan to share them in one neat collection (soon:) )
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 29. sij
Odgovor korisniku/ci @JacobMGEvans @typescript
Thank you! 😊
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 29. sij
tip for today: `keyof` gets a union type of all properties of the given object – useful for defining params for sorting, filtering, etc.
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 27. sij
Odgovor korisniku/ci @BrunoGiovani12 @JavaScript
😅
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 27. sij
tip for today: Assign a default value when destructuring – objects and arrays!
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 26. sij
Odgovor korisniku/ci @chudnovsky @JavaScript
The end effect is the same, but you get there with significantly less typing
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 26. sij
Odgovor korisniku/ci @manekinekko
Baby Slings (aka wraps) were so successful in our (seemingly helpless case), my wife became a baby wrap instructor :) Just make sure you wear it well, and it's a godsend. Having both hands free is a bonus. Btw. a carrier might seem similar but it's quite another story
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 24. sij
Odgovor korisniku/ci @BenLesh
[[obligatory "not with TypeScript🤷‍♂️" response goes here]]
Reply Retweet Označi sa "sviđa mi se"
Tomek Sułkowski 24. sij
Odgovor korisniku/ci @tipsfordevs @typescript
Thanks! And I won't mind it at all :)
Reply Retweet Označi sa "sviđa mi se"