helping build @sanity_io; aws serverless heroes; indieweb developer 🖤

unceded Coast Salish territory
the best solution to a problem is eliminating the conditions that create that problem rather than adding another solution that creates new unique problems
14
61
339
@brianleroux@indieweb.social 💙 retweeted
Hometown hero 🌟 Arshdeep Bains is tonight’s first star!
11
167
1,734
60,194
@brianleroux@indieweb.social 💙 retweeted
Netlify is the only place outside of Vercel where Next can be deployed on a serverless front-end cloud with support for all the advanced features. Today we're joining Open Next and starting to share our expertise with the broader community to help make Next run on more platforms.
🤝 We're moving our open-source Next.js adapter to the OpenNext GitHub organization and will begin collaborating across providers, like @Cloudflare and @SST_dev, to make sure Next.js runs well everywhere. bit.ly/40m6I9z
11
29
512
99,484
does it scale tho
Let's not forget Lambda! Lambda handled over 1.3 trillion invocations during Prime Day 2024.
1
4
1,777
@brianleroux@indieweb.social 💙 retweeted
github's move from html to javascript is going great
58
35
896
221,920
compute isolation is a good idea but nothing beats learning why the hard way 😁
1
3
666
Enhance implements serverside rendering for web components. It's less than 500 LOC, interpreted not transpiled, using the standards compliant parse5 library. You can still upgrade elements clientside (but most don't require that thx to css). No conditionals to render!
3
1
8
1,763
SSR for web components is demonstrably not hard. But I ack maybe it is if you are trying to completely emulate a browser in a backend context. Tonnes of conditionals required to render. So ..don't do that? Backend doesn't have click and submit events for good reasons..
1
1
1,098
Note: I'm not saying you *can't* use click and submit events. If you look at the Enhance readme you can see how (even vanilla extending HTML element works perfectly fine serverside as long as you implement a render method... we call this "implementing an interface"... )
682
Web components are great. 😁
2
2
36
2,105
Check out enhance.dev/showcase to see what you can do. Make sure to test with a performance tool like lighthouse. Vastly better on any metric we can measure.
2
1
4
744
It's ok if they aren't right for you. But if you're going to write a lengthy article about it recommend learning about logical fallacies first. It'll make your arguments less cringe to web platform experts. who knows? Maybe your feedback could improve the web for everyone even.
4
598
@brianleroux@indieweb.social 💙 retweeted
I laugh at all this “web component vs frameworks nonsense” specially from a pragmatic point of view. If we had adopted “Framework X” when we rewrote the Salesforce UI a decade ago, they would have been complete fucked right now due to the incompatibility of “new ideas” and the insane amount of legacy and hacks, stuck in a wall garden of madness. Platform always wins on the long run.
"Frameworks are a testbed for ideas that may or may not work out. We all need to be OK with that. Even framework authors. Especially framework authors. More importantly, we all need to stop being salty when our way isn’t what makes it into the browser." abeautifulsite.net/posts/web…
5
7
56
7,944
Incredible how much drama and strife there is here for.. *checks notes* ..rendering HTML

ALT Oh Really Come On Man GIF

1
6
594
@brianleroux@indieweb.social 💙 retweeted
“The browser is forever.”
2
7
1,065
@brianleroux@indieweb.social 💙 retweeted
Seesh!! Big numbers from @awscloud - excellent rationale from @donkersgood at @AWScomsum on why #Serverless makes sense.
2
4
13
981

ALT Reaction Big Eyes GIF

At Meta’s Connect developer conference, CEO Mark Zuckerberg showed off Orion, a futuristic pair of smart glasses that the company hopes will lead the next foundational shift in personal computing. wired.trib.al/3etkwHj
1
5
884
@brianleroux@indieweb.social 💙 retweeted
Took us 5 years to land the first million developers. Now 4 years later we crossed 5 million developers on our platform. Come celebrate with us at Netlify Compose! netlify.com/blog/celebrating…
16
8
131
31,788
clientside code should have no concept of auth. either you are authenticated, with an httponly cookie, or you aren't. code delivered should reflect that. if not, good news, there's an opportunity to improve! 😁
3
2
15
1,583