Twitter | Search | |
Aditya Agarwal ⚛️
Web Dev GSOC alum • Writes for • adityaa803@gmail. Loves JS, React & Testing.
5,866
Tweets
1,564
Following
2,312
Followers
Tweets
Aditya Agarwal ⚛️ 4h
Wait... Audio recording before screen recording. 🤯🤯🤯 I can see why the videos are so crisp now. When you have the screen in front of you, you feel like showing various stuff. Let me show "one more thing" and so on.
Reply Retweet Like
Aditya Agarwal ⚛️ 4h
This looks neat. Gonna try it out.
Reply Retweet Like
Aditya Agarwal ⚛️ 6h
Replying to @tanaypratap
That's a nice idea. I've also heard of Swagger. I don't know how it works but suppose there's an easy to generate the API live docs page then I can crawl it and find all info even for mutation type requests.
Reply Retweet Like
Aditya Agarwal ⚛️ 16h
Replying to @simonswiss @adamwathan
Your videos have set such a high bar. The rate of knowledge transfer per second is superb.
Reply Retweet Like
Aditya Agarwal ⚛️ 18h
Replying to @gr2m
how does it know the various API paths? Do you crawl GitHub's API docs?
Reply Retweet Like
Aditya Agarwal ⚛️ 18h
Replying to @dev__adi
Gave more thought to it. With dynamic routes this would be a problem. How do I know what's the slug in /blog/$slug.json A config for this can be kept since it would be very small. One entry per dynamic entity. So one for blog, one for comment etc. But now its not that ergonomic
Reply Retweet Like
Aditya Agarwal ⚛️ 19h
Replying to @dev__adi
In Next.js since all pages are defined on file system, it means I can statically find all page routes. Then I can make a GET request to page-path.json like /blogs.json and cache the response. When a new page gets added no config needs to be updated.
Reply Retweet Like
Aditya Agarwal ⚛️ 19h
I just got hit with an interesting idea. Problem with mocking APIs is the fixtures gets outdated. We could write a scraper to keep fixtures up-to-date. But that would mean maintaining a list of APIs to call. But not with Next.js or Remix... 1/n
Reply Retweet Like
Aditya Agarwal ⚛️ 20h
Replying to @Rich_Harris @rchrdnsh
Yeah I've watched your talk! Loved the plot twist and the switch to snowpack!!!
Reply Retweet Like
Aditya Agarwal ⚛️ 20h
Replying to @Rich_Harris @rchrdnsh
So if you have an input field inside the src/routes/settings/_layout.svelte file. User comes on /settings/profile write something in the input then in-app navigate to /settings/notifications, the text of the input field would persist? I've read this only
Reply Retweet Like
Aditya Agarwal ⚛️ 20h
Replying to @Rich_Harris @rchrdnsh
Really? That's awesome, gonna check it out
Reply Retweet Like
Aditya Agarwal ⚛️ 20h
Replying to @Rich_Harris @rchrdnsh
One other benefit of nested routes that I really like
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 29
My background music choices- Above from Haikyu You say Run from MHA All songs from Your Name movie Ryuk's theme from Death Note
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 29
Everyone's asking what's the difference between Remix and Next. The most awesome difference according to me is nested routes. I expand on it here.
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 28
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 27
Replying to @tmcw
This has been my experience too.
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 27
Replying to @0xca0a @vercel
That feeling when the background animations have become so advanced but we still struggle with sticky footers. 😭😭😭
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 27
Replying to @ajitid @BhimteBhaisaab
The video looks solid. I went ahead and tried to use it myself but I got this error. This is from GitHub codespaces btw.
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 27
Replying to @jkntji
Did you read that somebody made a PR to GitHub's official DMCA repo and since PR can't be deleted it is now always available. Savage ingenuity.
Reply Retweet Like
Aditya Agarwal ⚛️ Oct 27
Replying to @ankitkr0 @heyhey and 6 others
TIL you can make simple presentations with Notion quickly
Reply Retweet Like