Steven ⬢ Profile Banner
Steven ⬢ Profile
Steven ⬢

@styfle

4,291
Followers
1,850
Following
658
Media
6,524
Statuses

🐏 Software Shepherd @vercel 💚 Contributor to @nextjs @reactjs @nodejs 🤵 Husband & Father ✝️ Jesus lover Also at 🐘 @styfle @mstdn .io

::1
Joined May 2008
Don't wanna be here? Send us removal request.
@styfle
Steven ⬢
3 years
() is available now! Don't be the _last_ to know about it 🙂 ◦ Chrome 92 ◦ Firefox 90 ◦ Node.js 16.5.0
Tweet media one
21
215
944
@styfle
Steven ⬢
6 years
⚛️ The @reactjs team cut the dependency bloat in v16.5.0 quite a bit! 😮 react-dom @16 .5.0 is 2x smaller than the previous version... react @16 .5.0 is a whopping 8x smaller than the previous version!
Tweet media one
10
283
863
@styfle
Steven ⬢
1 year
The TypeScript 5 beta removed an unused 26.3 MB of JS making it smaller than TypeScript 3 🤯 Pro tip: you can track bloat over time using Package Phobia 💚
Tweet media one
13
60
832
@styfle
Steven ⬢
3 years
TypeScript 4.4 finally figured out how to narrow types, even when the type guard is not defined inside the `if` statement! For example, this works now:
Tweet media one
7
68
546
@styfle
Steven ⬢
2 years
Did you know that HTML has a <ruby> element??? It's not what you might think...
Tweet media one
11
82
497
@styfle
Steven ⬢
2 months
Node.js now has a built-in API for styling text (similar to `chalk`, `picocolors`, etc)
Tweet media one
6
87
465
@styfle
Steven ⬢
4 years
- XML is too verbose - JSON doesn’t have comments - YAML thinks Norway is False - TOML has 10 ways to represent 1 thing - INI is not standardized I think we can conclude that configuration is just bad.
@shanselman
Scott Hanselman 🌮
4 years
YAML CAN KISS MY &SS
148
170
1K
25
50
316
@styfle
Steven ⬢
8 months
From 75 to 800+ upvotes in less than 24 hours. We heard you and we shipped 🚀
Tweet media one
@jarredsumner
Jarred Sumner
8 months
bun install support is the most upvoted idea of all time in the @vercel github org discussions page
Tweet media one
20
25
884
5
11
309
@styfle
Steven ⬢
3 years
Does twitter support hex colors? Let's see... 🟩 #77b058 🟥 #dc2d44 🟦 #54aced
22
13
304
@styfle
Steven ⬢
2 years
Rust passed Swift in number of GitHub Stars 🌟 Whats next, passing TypeScript? 🤯
Tweet media one
4
38
303
@styfle
Steven ⬢
2 years
If you have scripts in your package.json that call other scripts, make sure they are package agnostic by using "$npm_execpath" This ensures the package manager you used to start the script is used to run the nested scripts. This is particularly important for "postinstall"!
Tweet media one
Tweet media two
9
24
275
@styfle
Steven ⬢
2 years
I was gone for a few weeks and arrived home to find this 🤩
Tweet media one
11
5
239
@styfle
Steven ⬢
2 years
In 2010, I bought a domain to host my web apps and get a custom email address. Back then, GApps was free for 5 users (renamed to GSuite and now Google Workspace) but today its $6/user/mo. Instead of paying $30/mo for vanity email, I now pay $1/mo with iCloud+ forwarding.
20
13
233
@styfle
Steven ⬢
5 years
Devs like JavaScript because they get instant feedback by running the code. Devs like TypeScript because they get instant feedback by writing the code.
1
43
216
@styfle
Steven ⬢
5 years
Today is my first day at @zeithq 🎉 🥳✨ I am excited to work with an amazing team on a marvelous product 😁 Also, it's a remote position so I can wear whatever I want (actual work attire pictured below) 😇
22
2
219
@styfle
Steven ⬢
3 years
Squash is the best 🤌 - Clean history on main - Encourage smaller PRs - Don’t bother contributors to follow commit conventions - Shallow clone depth becomes useful - Revert a PR with a single commit
@github
GitHub
3 years
Merge, squash or rebase? What do you prefer and why?
119
80
242
4
39
199
@styfle
Steven ⬢
3 years
@shanselman explains "Hello World" in the cloud
Tweet media one
3
28
193
@styfle
Steven ⬢
3 years
Chrome 93 will support client hint headers. This means you can detect if the user prefers dark mode before executing any client-side CSS/JS. This is useful for inlined CSS sent with the initial page load.
Tweet media one
4
34
155
@styfle
Steven ⬢
4 years
@danoliver Another photo with the owl's head turned away 🤯
Tweet media one
1
22
138
@styfle
Steven ⬢
4 years
ZEIT Now deploys my code faster than GitHub Actions can finish unit tests⚡️
Tweet media one
Tweet media two
8
9
132
@styfle
Steven ⬢
3 years
October recap for Next.js 🟣 300 PRs merged ☑️ 216 issues closed 📝 69 contributors 🕊️ 84 canary releases 🚀 3 stable releases #hacktoberfest
Tweet media one
4
3
131
@styfle
Steven ⬢
3 years
now shows package downloads per version 🎉
Tweet media one
4
15
122
@styfle
Steven ⬢
4 years
@thekitze You mean that Cmd + Shift + A is not an intuitive keystroke to mute/unmute yourself? 😆 Its like "select all" but for your mouth.
5
6
115
@styfle
Steven ⬢
3 months
:feels-so-good:
Tweet media one
7
0
112
@styfle
Steven ⬢
5 years
TIL that npm run script can use a --if-present flag 🤯 npm run build --if-present npm test
1
21
104
@styfle
Steven ⬢
5 years
I agree, these stale bots are causing more problems than they solve. Just because an issue is old, doesn't mean it is invalid 🤷‍♂️
Tweet media one
8
12
102
@styfle
Steven ⬢
2 years
Goncy: Do you like snacks? Me: Is that a trick question? Yes! Goncy: Just wanted to say thanks, sending you a package with some snacks from Argentina. Me: 🤯
Tweet media one
6
0
103
@styfle
Steven ⬢
1 year
My 2022 GitHub stats • 3956 total contributions • 2200 commits made • 680 PRs created • 17 badges achieved • 2 new repositories
Tweet media one
3
1
99
@styfle
Steven ⬢
1 year
TFW you can’t decide what to pack
Tweet media one
10
1
95
@styfle
Steven ⬢
4 months
5 years and 2800 PRs later, still shipping hand-crafted code with incredible people at @vercel
Tweet media one
@styfle
Steven ⬢
5 years
Today is my first day at @zeithq 🎉 🥳✨ I am excited to work with an amazing team on a marvelous product 😁 Also, it's a remote position so I can wear whatever I want (actual work attire pictured below) 😇
22
2
219
13
1
95
@styfle
Steven ⬢
4 months
import { getImageProps } from 'next/image' Now stable in Next.js 14.1 🚀
@leeerob
Lee Robinson
11 months
We're improving @nextjs ​/image to support: ◆ Using the <picture> tag ◆ Handling art direction ◆ Light/dark mode images ◆ Serving different images for HiDPI displays Landing soon on `canary` – kudos to @styfle 👏
Tweet media one
18
76
895
2
4
89
@styfle
Steven ⬢
5 years
Every theme selector should have 3 options: - Light - Dark - System Preference Great job @ChromiumDev for implementing this! 🌚🌝
Tweet media one
19
5
87
@styfle
Steven ⬢
6 years
@reactjs > we found similar vulnerabilities in a few other popular front-end libraries. We have coordinated this release together with Vue and Preact releases fixing the same issue. It's great to see collaboration efforts, especially when it comes to security 💙
0
1
86
@styfle
Steven ⬢
1 year
Mug shot
Tweet media one
4
0
88
@styfle
Steven ⬢
5 years
Next.js is moving to TypeScript
@vercel
Vercel
5 years
Next.js 8: ⬩ Serverless Next.js ⬩ Massive build-time memory usage reduction ⬩ Build-time environment configuration ⬩ Prefetch performance improvements ⬩ Smaller initial HTML size ⬩ Faster Static Export ⬩ Security improvements
19
424
1K
2
19
83
@styfle
Steven ⬢
2 years
Ever wondered what Layout Shift is and why you don't want it? Demo:
6
8
79
@styfle
Steven ⬢
1 year
Dynamic without limits swag box arrived 😎
Tweet media one
5
1
80
@styfle
Steven ⬢
1 year
The most recent @nextjs canary was published with npm provenance 🔒
Tweet media one
1
2
73
@styfle
Steven ⬢
3 months
@nodejs I am fond the the original but the new one is good too!
Tweet media one
0
1
73
@styfle
Steven ⬢
4 years
Does your code use "magic" strings? Never fear, @typescript is here!
4
9
73
@styfle
Steven ⬢
8 months
We have something exciting in the oven
8
1
70
@styfle
Steven ⬢
7 months
Tweet media one
Tweet media two
@styfle
Steven ⬢
8 months
We have something exciting in the oven
8
1
70
7
0
67
@styfle
Steven ⬢
4 years
RAMA WORKS M60-A ZEIT Limited Edition keyboard 🤩 I’ll post more in the thread as I unbox this beauty...
Tweet media one
Tweet media two
Tweet media three
Tweet media four
3
4
65
@styfle
Steven ⬢
7 months
@nodejs What's wrong with the current mascot design? ✨🐢🚀✨
Tweet media one
1
2
66
@styfle
Steven ⬢
2 years
A good question to ask yourself to avoid Layout Shift: "Is the layout being defined by the CSS [exclusively] or is it defined by the CSS plus the HTML content?"
4
3
66
@styfle
Steven ⬢
3 years
Drop party from Next.js Conf just arrived ▲
Tweet media one
Tweet media two
Tweet media three
3
2
65
@styfle
Steven ⬢
5 years
@drosenwasser Here's the details
1
2
63
@styfle
Steven ⬢
2 years
This is a perfect use case for Next.js Middleware! In a few minutes, we went from an idea to reality!
Tweet media one
@notcnrad
conrad
2 years
If I didn't care about my spending habits, I'd buy and have it redirect to @vercel projects because the amount of times I've mistyped it on mobile is mildly infuriating
4
0
41
2
4
62
@styfle
Steven ⬢
2 years
So exciting to be here at #nextjsconf
Tweet media one
2
2
63
@styfle
Steven ⬢
5 years
The zeit/ms repo is in the top 10 most depended on GitHub 🎉
Tweet media one
2
13
62
@styfle
Steven ⬢
1 year
GitHub is A/B testing a purple header Or it could be a bug We'll find out shortly
Tweet media one
4
1
60
@styfle
Steven ⬢
4 years
Its been one year since I joined ZEIT and I'm celebrating by giving my first public talk today 😊🗣🤯
@styfle
Steven ⬢
5 years
Today is my first day at @zeithq 🎉 🥳✨ I am excited to work with an amazing team on a marvelous product 😁 Also, it's a remote position so I can wear whatever I want (actual work attire pictured below) 😇
22
2
219
5
2
60
@styfle
Steven ⬢
6 years
Package Phobia is tracking 4000 unique npm packages! 🎇 Maybe you recognize some of these... - webpack - rollup - preact - unfetch - axios - marked - dompurify - serve - micro - commander - kleur Add the "install size" badge to your README too! 🛡️
Tweet media one
2
11
57
@styfle
Steven ⬢
5 years
"Write code for the idiot who has to maintain it a year from now because chances are, that idiot will be you" – Some Programmer
0
18
55
@styfle
Steven ⬢
27 days
@yagiznizipli @vercel Lots of Vercelians contribute to Node.js @TooTallNate gyp and proxy @ArrowoodTech fetch @shuding_ website The list goes on…
2
0
55
@styfle
Steven ⬢
6 years
@kevin_backhouse All of those movie plots finally make sense: Alice: I'll just reboot their security systems which should give us 30 seconds to get in and get out of the building Bob: But how can we reboot without getting into the datacenter? Alice: All I need is to get close enough for wifi
1
6
53
@styfle
Steven ⬢
6 years
Thanks @ChromiumDev for making fetch happen!
Tweet media one
0
11
55
@styfle
Steven ⬢
1 year
Even though Base 64 isn't safe to use for URLs or Filenames, there is an alternative alphabet designed for this use case. Just swap `base64` with `base64url` 😇
Tweet media one
Tweet media two
1
0
55
@styfle
Steven ⬢
1 year
More importantly, TS 5 is significantly faster
Tweet media one
1
3
53
@styfle
Steven ⬢
3 years
will now show a TS logo when the package ships with types 🤩 Thanks to @orta for writing the RFC 👏
Tweet media one
0
4
54
@styfle
Steven ⬢
5 years
Smart phones have replaced: - telephone - web browser - camera - newspaper - flashlight - remote - credit card - tape measure - etc
Tweet media one
2
12
53
@styfle
Steven ⬢
11 months
This is a long time coming, with a lot of different iterations and designs. Give it a try and let me known if this solves your use cases or if there is something we need to change.
@leeerob
Lee Robinson
11 months
We're improving @nextjs ​/image to support: ◆ Using the <picture> tag ◆ Handling art direction ◆ Light/dark mode images ◆ Serving different images for HiDPI displays Landing soon on `canary` – kudos to @styfle 👏
Tweet media one
18
76
895
1
2
52
@styfle
Steven ⬢
5 years
@zeithq TIL that the ZEIT Org in the top 20 most starred on GitHub 📈 That's more than Node, Go, .NET, or Rust 😮
1
9
50
@styfle
Steven ⬢
5 years
Really good stuff in here... 1. Automate the addition of JSDoc types 2. bring ESLint's TypeScript support to parity with TSLint 3. Team is involved in TC39 and the Node modules group 4. Writing tailored intros for devs with different backgrounds 5. Faster builds
@typescript
TypeScript
5 years
Curious about what we're working on for the next 6 months? We'd love to hear your thoughts about our plans!
19
173
509
2
15
51
@styfle
Steven ⬢
5 years
Shoutout to @alixaxel who did all the hard work of compressing Chromium to make it work well with serverless environments. Looks like a new version was just released today. Keep up the great work!
@rauchg
Guillermo Rauch
5 years
Serverless puppeteer / headless chrome (v. @styfle ) One fresh browser instance per request (𝑑𝑒𝑡𝑎𝑖𝑙𝑒𝑑 𝑤𝑟𝑖𝑡𝑒𝑢𝑝 𝑐𝑜𝑚𝑖𝑛𝑔 𝑢𝑝 𝑛𝑒𝑥𝑡)
12
139
756
1
11
49
@styfle
Steven ⬢
6 years
@horse_js Type Safety vs JavaScript
2
14
49
@styfle
Steven ⬢
2 years
I was today years old when I learned that nearly every car tells you which side the gas cap is on (look for a tiny arrow pointing left or right) h/t my wife (aka wyfle)
Tweet media one
Tweet media two
4
1
47
@styfle
Steven ⬢
2 years
Me: I just reached 3000 followers! Wife: That’s amazing! There are 3000 people using Twitter?
4
0
48
@styfle
Steven ⬢
5 years
Did you know that @github turns hex strings into a color?
Tweet media one
1
5
46
@styfle
Steven ⬢
3 years
My Christmas gift came early 🤩
Tweet media one
Tweet media two
Tweet media three
3
1
47
@styfle
Steven ⬢
4 years
Frontend developers should try out ZEIT Now ▲ Enjoy zero config deployments without the hassle ⚡️ 🔢No need to setup DNS 🔒No need to setup SSL 🌩️No need to setup a CDN 🤑No need for a credit card ⛴️git push to deploy
@TejasKumar_
Tejas Kumar
4 years
You are a frontend developer. You need to get something in the cloud. Your tool of choice (and why) is: (Reply with reason please)
244
112
414
1
3
47
@styfle
Steven ⬢
2 years
So many great features in Node.js 18! - fetch - web streams - test runner - userland snapshot - single-file executable coming soon
1
6
47
@styfle
Steven ⬢
6 years
@becca__z @github There should be different options for PRs besides Approve and Request Changes. Here's how it looks in VSTS:
Tweet media one
2
4
45
@styfle
Steven ⬢
4 years
I created a script to cancel previous running actions for the same branch when you push a new commit. Thanks to @mscccc for pointing out the Workflow API. Should I turn it into a generic GH Action you can add to your repo? Would you use it?
Tweet media one
6
5
45
@styfle
Steven ⬢
5 years
@natfriedman Maybe use orange instead of red??
1
0
44
@styfle
Steven ⬢
2 years
I've reviewed over 1000 PRs in the last 6 months ...and that's just the Vercel org 🤯
Tweet media one
Tweet media two
6
0
44
@styfle
Steven ⬢
5 years
This is some next-level dev trolling 👺😂
3
22
43
@styfle
Steven ⬢
1 year
Did you about the `npm pkg` command? It lets you easily read and write package.json
Tweet media one
4
4
44
@styfle
Steven ⬢
1 month
I just migrated an old hobby project from @PlanetScale MySQL to @vercel Postgres. • npm uninstall mysql and @types /mysql • npm i @vercel /postgres • conn.query(str) → sql`str` • tinyint(1) → boolean • enabled = 1 → enabled = TRUE • ISNULL(n), n ASC → n ASC NULLS FIRST
9
1
43
@styfle
Steven ⬢
3 months
Once this ships, we can stop using Node Buffer and switch everything to Uint8Array 🤗
@robpalmer2
Rob Palmer
3 months
ECMAScript excitement 😉 Congrats to @bakkoting on advancing Base64 encoding & decoding to Stage 3 @TC39 🎉 This allows converting Uint8Buffers to and from Base64/Hex strings 👍 let buf = Uint8Array.fromBase64(str); let str = buf.toBase64();
5
14
114
3
4
42
@styfle
Steven ⬢
5 years
Did you know you write a static website with .md files and deploy to @zeithq without managing dependencies? The best part is that unlike GitHub Pages, each PR will automatically deploy to a unique URL so you can see how the changes look/feel before merging to master! 🥳
Tweet media one
1
6
42
@styfle
Steven ⬢
5 years
Package Phobia is running on @zeithq Now 2.0 and is noticeably faster 🤩
3
6
42
@styfle
Steven ⬢
2 years
That's so fetch
0
3
40
@styfle
Steven ⬢
3 years
So glad GitHub Actions changed "re-run all jobs" from two clicks to just one click 🖱️ Now all we need is "re-run failed jobs" 😄
Tweet media one
1
0
41
@styfle
Steven ⬢
5 years
@dan_abramov @rauchg React Components = Legos 🙂 "Stepping" on a component = adding state to a functional component 😖 React Hooks = shoes 👟
0
1
39
@styfle
Steven ⬢
3 years
@amesimmons @Twitter Let me choose when to refresh the home page. Don’t auto update while I’m in the middle of reading.
1
0
40
@styfle
Steven ⬢
6 years
This won't decrease your bundle size but it will decrease your docker image size for faster builds and faster unfreezing on @zeithq
1
2
40
@styfle
Steven ⬢
4 years
Tweet media one
1
6
37
@styfle
Steven ⬢
2 years
Kangaroo sunrise on the beach 🌅 🦘
Tweet media one
Tweet media two
Tweet media three
Tweet media four
7
0
39
@styfle
Steven ⬢
2 years
Not only did jest 28 add new features but it was able to drop install size by 34% 🤯
Tweet media one
0
1
37