Frontend Engineer @hackerearth

Joined July 2019
5 Photos and videos
Ashu Deshwal retweeted
How to merge a standalone repo into a monorepo, while maintaining git history. #note2self
3
2
15
Ashu Deshwal retweeted
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: gist.github.com/anuraghazra/… 1/n
12
62
437
Ashu Deshwal retweeted
31 Aug 2022
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 bit.ly/3CGo9Wp

5
6
Ashu Deshwal retweeted
10 Aug 2022
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 > bit.ly/3JKdefQ
7
27
100
Ashu Deshwal retweeted
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! 😌
33
3
142
Ashu Deshwal retweeted
29 Jul 2022
Steps to reproduce the bug / the test
5
20
215
Ashu Deshwal retweeted
14 Sep 2020
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
114
Ashu Deshwal retweeted
Horrible Experience after ordering an appliance from @Flipkart @_Kalyan_K @flipkartsupport Order ID: OD225248070020255000 Detailed Experience in the attached image
4
2
2
Ashu Deshwal retweeted
25 Jun 2022
"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 ?
100% Yes
0% No
3 votes • Final results
2
1
2
Ashu Deshwal retweeted
25 Jun 2022
Replying to @ColiveOfficial
@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
Ashu Deshwal retweeted
14 Sep 2021
#5: Most state is remote state. Streamline remote state via a custom "useApi" hook, react-query, or swr. The result? WAY less code. react-query/swr add: ✅Caching ✅Invalidates & refetches stale data ✅Dedupes requests ✅Auto retries ✅Refetch on refocus/reconnect
8
38
450
Ashu Deshwal retweeted
31 May 2022
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
1,190
Ashu Deshwal retweeted
🧵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
335
Ashu Deshwal retweeted
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. producthunt.com/posts/reshap… 👀
10
11
78
Ashu Deshwal retweeted
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
479
Ashu Deshwal retweeted
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
Ashu Deshwal retweeted
27 Mar 2022
Best practices for writing code-comments by @ellenspertus: bit.ly/codecmts. Often, comments should only answer questions code can't (e.g. the "why")
17
178
757
Ashu Deshwal retweeted
Once again a great article by Dr. Kailash Nadh! nadh.in/blog/fomo-yamo/
2
31
Ashu Deshwal retweeted
12 Feb 2022
*Must read* for web developers: how modern browsers work by @kosamari 1️⃣ bit.ly/browsers-pt1 2️⃣ bit.ly/browsers-pt2 3️⃣ bit.ly/browsers-pt3 4️⃣ bit.ly/browsers-pt4 and browser.engineering by @BrowserBook
24
1,092
3,854
Ashu Deshwal retweeted
✎ For design systems, should you version the component library as a whole or should you version individual components? In this post, I break down the pros and cons of each strategy: bradfrost.com/blog/post/desi…
7
20
117