Ashu Deshwal
@_TheSTL_
Followers
32
Following
939
Media
5
Statuses
123
Frontend Engineer @hackerearth
Bengaluru, India
Joined July 2019
A basic mental model of TypeScript types. A side by side comparison of JavaScript code vs Type level code to help you think of the type system as any other programming language. gist: https://t.co/OurOUfp7hv 1/n
12
62
439
My weekly #DesignSystem📖 Favorites: ⚡️How to implement Dark mode with #DesignTokens - @lukasoppermann ⚡️Astro Space UX Design System - @AstroUXDS ⚡️Design system interviews - @blvdmitry ⚡️Why is it so hard to gain the #DesignOps maturity? - Jan Lu https://t.co/EWJqW0GOu7
0
5
6
"Duplication is far cheaper than the wrong abstraction. ". Awesome content as always by @kentcdodds
kentcdodds.com
At what point does it make sense to break a single component into multiple components?
14
156
1K
The Ultimate #DesignSystems Resources List 🌈 All the relevant, latest resources to help you create your design system. 💥 * Blog posts * Tools * Plugins * Libraries * List of Design Systems * Design Tokens * Slides and videos * Books * Conferences > https://t.co/4geFSScfHS
7
27
100
For a very long time I've had some mystery JS code plaguing our app's CPU performance. We're talking 40% on my 2019 MBP 16" with absolutely nothing happening on the screen. I FOUND IT! 🎉 I won't say which OSS library it was publicly, but we're back down to 0.2 CPU baby! 😌
35
3
144
The open/closed React component: A component that is based on the open/closed principle, which states that “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification”. Thread 👇
2
23
115
Horrible Experience after ordering an appliance from @Flipkart @_Kalyan_K @flipkartsupport Order ID: OD225248070020255000 Detailed Experience in the attached image
4
2
2
"Really Ashamed" looking at how Indian #startups have started taken customers for granted. @Lets_Colive @Flipkart @Olacabs
#StartUpPH #obsession #experienced #WORST What do you think ?
2
1
2
@Lets_Colive Why don't you just remove banner of live meet, everyday waited for hours just to get in, because no staff is there, why false advertise. #colive #fraud #boycott #boycottcolive
2
2
2
Problem: Fetching in useEffect means React components render, then fetch. This can lead to slow network waterfalls. Solution: Fetch as you render. Use react-query's prefetching (prefetch in the parent) or use @remix_run which does this by default via nested routes. #react
21
165
1K
🧵1/8 Ever wondered why you're not able to conditionally call hooks in @reactjs? For example, this component early returns a `null` to avoid loading data into a `useState`. It's invalid React code. Why? How do hooks work under-the-hood? Let's dive into React's internals.
2
58
338
Two years of active work and we're happy about where we got so we're releasing @getReshaped v1.0 today. Together with @hi_drozdenko we've packed all of our 10+ years of building design systems into this project and hope you all enjoy using it. https://t.co/jkm1FOdCrw 👀
10
11
78
My biggest 5 coding mistakes as a Creative Developer during my career. A thread going through specific nitty-gritty of some code that I had implemented wrongly in some of my previous projects. 🧵
6
59
480
On the 28th of March, eyebrows went up across the world as HackerEarth community members opened the Practice portal and saw the design update. Here's a thread about why we released this update and how it was done! 🧵
1
1
8
Best practices for writing code-comments by @ellenspertus: https://t.co/wsguBHFO9J. Often, comments should only answer questions code can't (e.g. the "why")
18
182
769
Once again a great article by Dr. Kailash Nadh! https://t.co/YkvGaIXHPp
nadh.in
Fear of missing out on software? You ain't missing out.
0
2
31
*Must read* for web developers: how modern browsers work by @kosamari 1️⃣ https://t.co/2BzopOug4f 2️⃣ https://t.co/0lJCl25O4j 3️⃣ https://t.co/iuRlwaba3j 4️⃣ https://t.co/FYhCmhB9Hs and https://t.co/rlPc8Y8mKn by @BrowserBook
27
1K
4K