Alex Castle (@atcastle) profile picture

Software Engineer at Google & lapsed technology writer

San Francisco, CA
Joined April 2009
Photo by Alex Castle (@atcastle)Photo by Alex Castle (@atcastle)
Recently I've been working on adding automatic image placeholders to Angular, and with version 17.2, it's finally available! Really excited to see what people think. blog.angular.io/angular-v17-…
2
16
2
59
13,913
Alex Castle retweeted
Another delightful feature available in Angular v17 is: phases for afterRender and afterNextRender! Now Angular can optimally schedule callbacks for an application and all of its libraries, minimizing layout thrashing!
Angular v17. The framework you love, with a fresh new look, and: 🦥 deferrable views ⚡️ up to 90% faster, intuitive built-in control flow 🏎️ up to 87% faster build times with hybrid rendering 🏗️ Vite + esbuild builds + more! goo.gle/angular-v17
6
6
1,962
Really excited about one of the features I worked on for this release--automated preconnects! Now, when you use NgOptimizedImage, Angular looks for image domains in your code and automatically adds preconnect links, which can improve your LCP score by a lot.
Angular v17. The framework you love, with a fresh new look, and: 🦥 deferrable views ⚡️ up to 90% faster, intuitive built-in control flow 🏎️ up to 87% faster build times with hybrid rendering 🏗️ Vite + esbuild builds + more! goo.gle/angular-v17
1
4
16
3,017
Alex Castle retweeted
If you haven't had a chance to try out NgOptimizedImage, we'd love to hear why:
13%Have our own image comp
51%Don't have time
17%It's missing a feature
19%Other (Reply below!)
552 votes • Final results
26
12
34
45,910
Super excited that we got to backport the new NgOptimizedImage directive to Angular 13! Now these performance optimizations are available to a bigger chunk of the Angular ecosystem:
Are you running Angular v13? Still want to take advantage of the NgOptimizedImage directive? Chrome Aurora has partnered with Angular to backport the image directive! This gives you access to: - srcset generation - fill mode - loader config options github.com/angular/angular/p…
3
8
2,520
I wrote an RFC for a new @nextjs package that would make it easier to load popular third-party libraries 🎉 Share your feedback! github.com/vercel/next.js/di…
16
28
3
243
65,402
Alex Castle retweeted
Next.js Layouts RFC ◆ Nested routes / layouts ◆ Designed for Server Components ◆ Fetch in layouts while avoiding waterfalls ◆ React 18 features – startTransition, Suspense ◆ Client and server routing ◆ 100% incrementally adoptable nextjs.org/blog/layouts-rfc
59
420
147
1,876
Excited to be part of Next.js Conf today! My talk's going to be playing on stage N at 10:50 PST nextjs.org/conf/schedule
5
1
1
21
Alex Castle retweeted
Tip: @ChromeDevTools has a Shadow Editor built in!
64
1,714
131
6,346
Alex Castle retweeted
Really proud of the work by both my team and the Google Chrome team that's working on Next.js 🤩 next-css was one of the most used dependencies of Next.js projects, either to import a single CSS file or full design systems. It's now a built-in feature with better constraints.
Next.js 9.2: ⬩ Built-In CSS Imports for Global Styles ⬩ Built-In CSS Modules for Component-Level Styles ⬩ Catch-All Dynamic Routes ⬩ Up to 70% Reduced Largest JavaScript Bundle ⬩ Up to 87% Less JavaScript Loaded after Multiple Navigations nextjs.org/blog/next-9-2
11
29
1
288
In the 6.5 years since my last tweet, I have: 1) Moved to Hawaii 2) Career-changed from writing to programming 3) Moved back to San Francisco 4) Got a job at Google Aaaand... now we're all caught up. I'm going to try to post a little more so we don't have to do this again 😅
1
11
Finally! http://t.co/FXN10dEhCl No pressure sensitivity was one of the only things that really bugged me about the Surface Pro
2
Nothing punctuates your power going out as well as a really loud explosion from inside your building
1
Gordon ranting about Instagram
1
1
This Project Glass thing is putting my sci-fi fantasies into direct conflict with my desire to not be hit by a bus. http://t.co/eWHBvoJl
Alex Castle retweeted
Lots of talk today about the new iPad's thermal issues. Frankly, we haven't noticed anything of the sort.
5
21
10
Just got the Tiamat 7.1. Really wonder how much @CultOfRazer spends on packaging R&D.
AWESOME news from @nchan and @willsmith Great job guys!
1