Ray Gesualdo retweeted
Advance your web skills our web track at @connect_js 🧠💪
@bermonpainter- 2024.connect.tech/session/69…
@raygesualdo- 2024.connect.tech/session/68…
@wpscholar- 2024.connect.tech/session/69…
Sia Karamalegos- 2024.connect.tech/session/71…
🎟️- 2024.connect.tech
Use X100OFF for a discount 👀
Ray Gesualdo retweeted
Rspack 1.1 and Rsbuild 1.1 are out!
⚡️ Up to 10% faster build
⚡️ Up to 38% faster HMR (experimental)
🔸 Improved JSDoc
🔸 Improved HTML plugin
🔸 CLI shortcuts
🔸 Fixed 30+ bugs
rspack.dev/blog/announcing-1…
Ray Gesualdo retweeted
Hey yo! There is me!
Excited to be going back this year.
Definitely had a little FOMO last year.
Wanna come to this years @connect_js? Of course you do! Who would want to miss out on the biggest multi-framework front-end conference in the USA?! Not us, and not you!
Now it’s time to convince your boss via this link- 2024.connect.tech/convince
Get sharing with them now! 🙌😎
Ray Gesualdo retweeted
Level- up your web skills our web track at @connect_js 🧠💪
@bermonpainter- 2024.connect.tech/session/69…
@raygesualdo- 2024.connect.tech/session/68…
@wpscholar- 2024.connect.tech/session/69…
Sia Karamalegos- 2024.connect.tech/session/71…
🎟️- 2024.connect.tech
Use X100OFF for a discount 👀
Ray Gesualdo retweeted
How we shrunk our Javascript monorepo git size by 94%! No joke, this really happened...
jonathancreamer.com/how-we-s…
Ray Gesualdo retweeted
🤯 Companion Windows
If browsers implement this, many SPAs could become MPAs in the future
MPAs could navigate across pages while preserving state of:
- a docked video player
- a support chat session
Really exciting web innovation being worked on at Google!
Ray Gesualdo retweeted
I’ll be there speaking about all the latest trends in bundling JavaScript!
Wanna come to this years @connect_js? Of course you do! Who would want to miss out on the biggest multi-framework front-end conference in the USA?! Not us, and not you!
Now it’s time to convince your boss via this link- 2024.connect.tech/convince
Get staring with them now! 🙌😎
Ray Gesualdo retweeted
Check out some of the featured speakers at CONNECT TECH
Join us in #Atlanta in November for an #Awesome #Webdevelopment #Conference.
Nov 18-20
Atlanta GA
CONNECT.TECH
Ray Gesualdo retweeted
a common rookie mistake is to choose "long files" as abstraction candidates
A form with 20 inputs is SUPPOSED to have twice as many lines of code as a form with 10
It hasn't increased in complexity just because it's longer
Ray Gesualdo retweeted
📚 I love component composition in React, and I think we should use it a lot more before littering our components with conditional renderings for mutually exclusive states. As a follow-up to a tweet from this week, here's the full blogpost:
tkdodo.eu/blog/component-com…
Ray Gesualdo retweeted
📰Today, I'm writing about an incredibly powerful standard API called AbortController.
Read this to learn a better way to cancel requests, remove event listeners, and teach any logic to be abortable.
kettanaito.com/blog/dont-sle…
Ray Gesualdo retweeted
Help us spread the word — it's time to #FreeJavaScript.
javascript.tm
Ray Gesualdo retweeted
Announcing Rsbuild 1.0 - the Rspack powered build tool 🎉
Read the release blog to see why we built a new tool on top of Rspack:
rsbuild.dev/community/releas…
Ray Gesualdo retweeted
I'm working really hard to help grow the Modern Web- ATL Meetup in Atlanta, GA!
If you're in the area and are looking to join an amazing community of web devs that has a TON of great events coming up, join the squad!
meetup.com/modernwebatl/
Ray Gesualdo retweeted
Junior folks sometimes get into a demoralized headspace where Seniors seem like our knowledge/ability to spot a solution is magic.
It’s not, we’ve just seen that before. Further: we’ve broken that before.
Ray Gesualdo retweeted
Join us in Atlanta in November for CONNECT.TECH. A #multiframework #frontend #Conference
#Vuejs
#ReactJS
#AngularJS
And so much more...
Ray Gesualdo retweeted
alright so ive been sitting on this idea for a bit now and i was going to 'wait until im back from paternity' but now that im in the middle of the grind i want to start this thing ASAP
❗️❗️i am starting a dads in tech group❗️❗️
Ray Gesualdo retweeted
Periodic reminder that I maintain a 33 node elixir cluster spanning 🌎 with 2k messages/s at each node. Conventional wisdom would say this wouldn't work. Yet it chugs along happily.
Good insight into speed of light and how fiber is run across the world: rtt.fly.dev
Ray Gesualdo retweeted
We'll be having our first in-person event in ATL in collaboration with @RefactrTech on Wed July 10th @ 630pm ET. We'll have @raygesualdo @_goth_brooks & @Kolor_Koded_101 as speakers. This will be a hybrid event so if you're not local you can join remotely! buff.ly/3zjsyyV
Ray Gesualdo retweeted
I'm *very* thankful that React rolled back the v19 suspense gate and were willing to work with us. I think the future is as bright as ever.
Now, this is where I want to go next:
I'm increasingly concerned how much React is pushing render-as-you-fetch (hoisting+preloading) as the blessed (and last week, almost required 😜 too soon?) approach for client side data fetching, despite the current state of ecosystem.
Regardless of the library you use to fetch client-side data, if you're not using a framework's SSR-level route loader or async paradigm, your solution probably resembles some kind of hook (like useQuery, or heaven forbid, one that you rolled on your own).
I'm happy about the concern we all have for perf, UX, parallelism, etc, but not super happy that some of use are so quick to give up the amazing DX that is data colocation.
AFAIK, Relay is one of few libraries that can really handle hoisting data requirements out of components automatically (not without a lot of buy-in and convention) and get you the best of both worlds. It's naturally that RSC is the spiritual evolution of this pattern.
You could argue that a router with a loader lifecycle solves a lot of this, but (1) this assumes that your data usage-site is close to your route boundary and if it's not (2) you likely had to either move that data out of a deeper component that uses it and into the loader that then passes it back via prop 😮💨. Or.. duplicate your work by doing a split preload/use-later approach, which is the most monotonous feeling thing in the world and prone to error.
Colocation on the other hand feels natural for projects that require this level of data dynamism in components (think dashboard widgets or productivity app). And for the most part, this works amazing.. unless you need SSR.
And that's where I imagine React has likely been thinking server-components would fill in nicely. As always, SSR is the crux of it all and Relay was on to something. Regardless, If you need both colocation and SSR, you have to jump through hoops to get there. Annoying ones.
Even with those annoyances though, it's hard for me to imagine many of these highly dynamic apps moving to an RSC future (unless SEO/SSR is in the bread and butter of their product, e.g. if you're a social network or e-commerce thang, it makes perfect sense).
My point is that RSCs are not the only answer to colocated data fetching and honestly still require some kind of hoisting convention if you want to avoid server-side waterfalls.
For starters? RSCs require architecture and opinion buy-in beyond `npm install react`.
So when I see render-as-you-fetch, what I really see is a pretty hefty checklist:
- Data Hoister (Compiler, router convention, etc)
- Cache Coordinator (QueryClient, etc)
-Consumer (useQuery, use, etc)
And a whole much of hairy code to make sure that SSR works (streaming, hydration, etc)
Yes, it's can be more performant to some KPIs and if you need those or SSR, you'll have to do it anyway, BUT it would be a mistake to think *everyone* is in that bucket.
I would really like to see more attention going into retaining the awesome DX of being able to colocate data requirements with usage sites without forcing more cognitive load around prefetching patterns.
I don't know what those solutions are yet. I have ideas. But even if we as an ecosystem were to go down that road, it would be 1000 times better if it was a problem React itself would consider as first-class instead of some cursed pattern that needs to be squashed or discouraged.
This is why @Tan_Stack Query is so awesome IMO. Yes, there's some extra preloading to do if you need SSR, and for RSCs and frameworks, we're already hard at work on some pretty cool stuff (despite missing React primitives) to make it just work with RSCs.
TanStack Start/Router will be no different. Reducing cognitive load is our goal and trying to remember if you preloaded or kicked off a fetch in a loader is high on my list of mental tasks to destroy.
Please, don't kill colocation.























