May 10, 2022 in #coding
⚛️ reactathon 2022 recap
Lee Robinson kicked off the conference by emphasizing just how foundational React is in web development. However, React isn’t the complete solution, it is just the foundation. Meta frameworks like Next.js and Remix provide much needed opinions around the primitive tools. Lydia Hallie later detailed all of the rendering patterns that Vercel supports. From CSR to SSR, and even ISR and DSR, there are so many options (and acronyms). Her blog post captures all of these in great detail.
Shruti Kapoor taught us all about React 18, the new APIs, and what the upgrade path looks like. As it turns out, React 18 is faster out of the box, and can be upgraded in an afternoon. David Khourshid later went into more detail about what problems you might run into when using
StrictMode to unlock concurrency in React 18. For instance, the
useEffect hook will be run multiple times, and we should change our perspectives on the purpose of
useEffect to think about it only for data synchronization.
Kent C. Dodds began by explaining what exactly edge servers are and why they matter to frontend developers, and then showed how Remix takes advantage of them to improve performance. Ryan Florence spoke about when you should fetch your data, and what you need to know before doing so. He explained that you really only need the URL and the user’s authentication state to determine what needs to be fetched. With this knowledge, fetches can be initiated in parallel before starting to render your components, resulting in large performance improvements.
From a networking perspective the conference was great. I got to meet all of the speakers, and even went out to dinner with Scott and Wes. These were all folks I’ve talked to online, but there’s nothing like cementing those relationships in person. Of course, there was tons of swag. I think I carried home a couple coffee mugs, more than ten shirts, and about a million stickers!
If you haven’t been to a conference, or have been missing them since the pandemic started, I highly recommend going to one as soon as you can. You should consider Smashing Conf in Austin, I’ll be attending as well!