Amine S. (@donaminos) header
Amine S. (@donaminos) profile picture

Front-end engineer getting into AI universe. I build apps using mainly Next and React.

Joined April 2023
Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)Photo by Amine S. (@donaminos)
🎀 little-date: A tiny library that makes date ranges short and sweet. Originally built as part of a Vercel hackathon to make our date picker more compact. Now open-source on GitHub. 👇 github.com/vercel/little-dat…
43
150
17
1,834
268,342
We're at an interesting time we are being told we need new technologies (Islands, RSCs, Resumability, PPR) and yet the simple tech demo can't effectively show their benefit. These matter when things scale but a blog site, HN demo, simple storefront etc, will never show it.
22
28
5
295
29,142
Radix UI pros – any idea how you can "bypass" the grace area of one tooltip when moving to another tooltip that's right next to it? Looks like this is a known @radix_ui limitation as well: git.new/gV9lLef
7
2
56
16,656
I've just discovered this lib called Radash that could be a great replacement for lodash. Check it out it may be useful for you as well radash-docs.vercel.app/docs/…
13
Hi folks 👋 I was looking into @babeljs 's source code to understand JSX transformation and was wondering if there are any resources with all the rules for transforming JSX AST to JS AST. Any help would be appreciated 🙏? Many thanks #react #babel #jsx #ast #help
53
Amine S. retweeted
stop using default exports
88
42
14
770
79,981
Amine S. retweeted
I prefer NoSQL 😂🤭
84
297
34
3,957
264,686
It’s not good to do something like this 😭 They didn’t even provided a detailed info on why they deactivated my account. Guys, what’s the best alternative to @Hetzner_Online?
148
10
10
283
212,518
Amine S. retweeted
C++ in JavaScript 😂🙈
140
794
103
7,054
532,221
Amine S. retweeted
This does makes me realize that the traditional (compared to RSC) SSR on first load -> hydrate into SPA model is much less susceptible to skewing (client / server version mismatch). Once hydrated, a long running SPA only interacts with the server via loading static assets and API endpoints. You can avoid skewing relatively easily by keeping around static assets from previous deployments + keeping API endpoints stable. RSC, on the other hand, can much more easily cause mismatches because every interaction may invoke logic in server components, and it’s much harder to avoid touching server components than avoid changing API specs. Every deployment can cause skewing. The only way to fix this is to run multiple versions of your app in the server as well (aka Verdel’s skew protection)… and as you can probably guess, this means considerably more complicated deployment requirements and more resources used as well.
the telltale sign you're interacting with a next.js application deployed on a VPS: If you leave your tab open for too long and come back the next day, if the devs deploy anything, your active users will be broken. Vercel has this figured out with skew protection, but self hosting, good luck mates. This is an issue I'm seeing constantly on projectplannerai.com and I need to look into a solution. I'll probably add some type of force refresh functionality on deployments (kind of like windows does)
17
33
12
405
111,911
Amine S. retweeted
Startup job description 😳🥺
59
749
99
8,657
739,995
I am experiencing the #Javascript fatigue and I am tempted to move to something else for a breath of fresh air. I spent last 5 years doing #React and today, out of blue, I thought about switching to backend dev using #Go... Does anyone experienced something similar? Am I crazy?
28
Indie Hackers gotta be careful
63
105
68
1,780
750,780
Amine S. retweeted
⚠️ @escrow_com ruined my 6 figures acquisition💀 It could happen to you too if you use them 🚨 Last month, I listed my startup for sale, and after negotiating with buyers, I agreed to a 6-figures amount with one of them 💸 Everything was ready. Yesterday, the buyer sent the money to Escrow (middleman), but today... 💀💀 ...Escrow tell me they don’t want to send the money to my bank account 🤬 Apparently, they don’t want to send wires to Mercury/Wise since 2 weeks ago, even tho their website clearly says they accept Wise, so they are lying (screenshot) 🤦🏻‍♂️🤦🏻‍♂️ If they mentioned it upfront, we would have done the wire without them, but they waited until the last minute right before they received the money to say it, and now it's locked there 💀 Opening a bank account in Singapore is super hard and usually takes months, so it's out of the equation for now I invested so much time into this, everything was ready, but now I’m learning that everything I worked for might be gone. At best the buyer is ok to restart everything and delay 2-3 more weeks At worst, the deal is gone, because of Escrow I honestly don't know what to do 😕 Big corpos don't give a shit, especially when they have a monopoly, but making sure this post reach as many people as possible is probably a good start. Feel free to RT/like to support... Do not touch @Escrow_com with a stick if you use Wise, Mercury or other
153
69
22
664
232,159
So @geoffreygraham has created an entry-level web development course that teaches the foundations of HTML and CSS to anyone who wants to get into the field but doesn't know where to start: thebasics.dev I bookmarked this as I *know* I'll be referring people to it.
3
14
74
7,987
💡Wisdom of the day #Serverless #cloud #selfHosting It changed my perspective
7
oh my god, for weeks i've had users reporting that PPP is not working, and i thought it is either them using some kind of VPN, but as these reports grew I started blaming Vercel's headers, THE ISSUE WAS IN JAVASCRIPT'S FLOATING POINTS, THIS BREAKS THE DISCOUNT CREATION API 🫠 Brazil, Mexico, and others who had 55% or similar not-round discounts, I am so sorry I did not fix this sooner 🫶🫶
34
9
8
307
113,090
💡#TIL Diving into the #react codebase and discovered that `React.createElement` is now legacy api. The new one is `jsx` from `react/jsx-runtime` Example using @babeljs
31
We are currently hiring two Senior React developers at @dailydotdev. Share this to help someone or tag who might be interested.
31
42
6
137
26,302