adbayb Profile Banner
Ayoub Profile
Ayoub

@adbayb

Followers
84
Following
4K
Media
8
Statuses
6K

Joined October 2015
Don't wanna be here? Send us removal request.
@yawaramin
Yawar Amin.ocallm
9 months
> Asks if 'if err != nil' is really that bad > Screenshot example shows accidental fallthrough from error case to success case Do we really need to discuss further?
@kai_fall
Kai Fall
9 months
is `if err != nil` really that bad?
Tweet media one
46
154
3K
@kurtextrem
Jacob 'kurtextrem' Groß
11 months
At @framer, we've made React hydration 50%+ faster for lots of sites when using Suspense to fetch data. The surprising part: We did that by... adding more Suspense tags. Why does it make hydration faster? Let's explore🔎:
2
6
94
@wesbos
Wes Bos
1 year
Yessssss! Node just shipped the ability to run TypeScript files directly!
92
438
3K
@mattpocockuk
Matt Pocock
1 year
It's never been easier to make beautifully styled text for your CLI. Node's built-in 'styleText' is NICE
27
56
966
@DavidKPiano
David K 🎹
1 year
Okay, listen. If you're going to fetch in useEffect(...), you should at least make sure that you're handling: - Loading states - Error handling (rejections & HTTP error codes) - Race conditions & cancellation This isn't over-engineering. It's the minimum code to prevent bugs.
Tweet media one
77
163
2K
@PawelHuryn
Paweł Huryn
1 year
All PM templates from my Google Drive are now free for everyone 🎁 The extended edition: (1/4)
Tweet media one
62
383
4K
@rauschma
Axel Rauschmayer (also on 🦣)
1 year
My books are free to read online: – Exploring JavaScript (ES2024 edition) – Deep JavaScript – Tackling TypeScript – Shell scripting with Node.js Retweets appreciated! https://t.co/cYI2ZY048N
Tweet media one
Tweet media two
Tweet media three
Tweet media four
9
203
499
@RhysSullivan
Rhys
1 year
If you care about security for your NextJS app, stop using top level "use server" - it's way too easy to leak data Top level "use server" creates endpoints for all exported functions, even if they are never used on the client One accidental export can cause a ton of damage
Tweet media one
62
130
1K
@housecor
Cory House
1 year
Problem: Choosing a React state library is hard. Solution: Consider the tradeoffs. Here are 6 key tradeoffs, with examples: 1. General vs Specific General: Redux, Zustand, Jotai. Specific: React Query, Apollo. These are specifically designed for handling data fetched via
Tweet media one
20
28
302
@brophdawg11
Matt Brophy
1 year
Hey you - with the big React Router app - you should check out the new "Fog of War" feature released in v6.24.0 yesterday which allows effectively infinite scale for your app. It's also very useful in micro-frontend and module-federation architectures. https://t.co/A2a9xCgc7m
Tweet card summary image
github.com
Declarative routing for React. Contribute to remix-run/react-router development by creating an account on GitHub.
5
13
79
@aidenybai
Aiden Bai
1 year
Introducing Million Lint 1.0: A VSCode extension that automatically fixes slow React code for you! It's like ESLint, but for performance!
100
358
3K
@sebastienlorber
Seb ⚛️ ThisWeekInReact.com
1 year
Great news for those extending base TypeScript configs Soon we should be able to use relative paths to the "final" config file ${configDir} placeholder Previously it was confusing, and you had to duplicate many fields in the child configs to use relative paths
Tweet media one
3
18
116
@saltyAom
SaltyAom
1 year
Introducing Elysia 1.0「Lament of the Fallen」 Featuring: - Sucrose - Rewritten static analysis - Improved startup time up to 14x - Remove ~40 routes/instance limitation - Faster type inference up to ~3.8x - Eden Treaty 2 - Strict response error check ↓ Link below ↓
Tweet media one
27
160
956
@matt_gray_
MATT GRAY
1 year
The cost of distraction is the person you could’ve become. If you suffer from distraction, read this. My Deep Work routine:
Tweet media one
88
1K
8K
@aidenybai
Aiden Bai
2 years
Introducing Million Lint: A VSCode extension that identifies slow code and suggests fixes. It's like ESLint, but for performance!
84
554
5K
@Zeko369
Fran Zekan
1 year
Apparently some React devs don't know that <input type="date"> exists and think you need a library for that? So I made a really quick demo...
53
43
638
@anthonysheww
Anthony Shew
2 years
Big update for TypeScript users! 🚫 Stop using compilerOptions#paths ✅ Start using package.json#imports package.json#imports uses Node.js conventions, solving a specific pain point for monorepo folks. Video coming. Too excited, had to insta-tweet. Stay tuned.
Tweet media one
@typescript
TypeScript
2 years
Announcing TypeScript 5.4! 📢 Now with: ✅ Smarter control-flow analysis in closures ✅ The `NoInfer` utility type ✅ Broader support for bundlers and runtimes ✅ Quick fixes for missing parameters ✅ Improved auto-imports and more! Try it today! https://t.co/qqSG1bCGGL
18
126
989