A Nerdy Guide to the Web Trending Concepts

Rate this content
Bookmark

What do S.H.I.E.L.D. and A.R.G.U.S. have in common with edge computing?
How can Iron Man and Batman help you understand hydration, partial hydration, and resumability?
What can the Watchers or the Monitors tell you about Reactivity?
Join this adventure straight from the pages of a comic book as your favorite heroes and villains help you understand some of the most discussed topics on the web now.

This talk has been presented at React Summit US 2023, check out the latest edition of this React Conference.

Watch video on a separate page

FAQ

Daniel Afons' talk at the React Summit focuses on explaining web trending concepts using comic book characters to build mental models, making complex tech concepts more understandable.

According to Daniel Afons, mental models are terms, images, or words that you associate with a specific subject, helping you to quickly understand and relate to complex concepts.

In Daniel Afons' presentation, 'hydration' refers to the process where server-side rendered code becomes interactive on the client side by downloading JavaScript, which then attaches event handlers and other interactive elements to the static HTML.

The 'Resumability' concept discussed by Daniel Afons involves making web pages immediately interactive upon loading, by embedding necessary execution data within the HTML, thus avoiding the need for extensive JavaScript hydration.

Daniel Afons uses comic book characters to narrate stories that parallel technical explanations, helping to illustrate complex technical concepts like 'hydration' and 'resumability' in a more relatable and engaging way.

Attila and Matheus are individuals who provided feedback on the mental models and helped Daniel Afons in building his talk for the React Summit.

Daniel Afons works as a developer advocate at OLX, teaches as an IDN instructor, serves as an Altura ambassador, and is the author of a book about React Query.

Daniel Afonso
Daniel Afonso
17 min
15 Nov, 2023

Comments

Sign in or register to post your comment.
Video Summary and Transcription
This Talk is about using comic book stories to explain complex software development concepts. The first part introduces the speaker and the purpose of the Talk. The second part explores the concept of hydration using Iron Man as an example. Hydration is a solution to make server-side rendered code interactive. The Talk then moves on to discuss resumability, which allows for immediate interactivity by encoding extra information into the HTML. The concept of resumability is further explained using a story with Iron Man. The Talk concludes by inviting suggestions for future topics and thanking the audience.

1. Introduction to the Talk

Short description:

I'm here at React Summit to share this new talk. Attending conferences can be overwhelming, especially with all the technical jargon. I realized I needed better mental models to understand these concepts. As a comic book nerd, I decided to combine my love for characters and tech concepts to create a nerdy guide. Let me introduce myself as Daniel Afons, a developer advocate at OLX. Feel free to connect with me on social media. Please note that this talk includes fan-made stories with Marvel and DC Comics characters.

I will React Summit. Thank you so much for having me here. It's a pleasure to be here with all of you today to share this new talk that I'm trying out. So, hopefully, you'll have as fun watching this as I have writing it.

So, let's start. Well, this all started when I was attending a couple of conferences. And attending conferences can be a bit overwhelming. I don't know if you understand what I mean. But there are so many words showing up back and forth, which, well, if you are like me, not very often you're going to understand what all of them mean.

The issue that kind of prompted me to do this is because I didn't have the right mental models formed for these things. Now, I don't know if you are aware of what a mental model is. Mental models are the terms, images, words or whatever that you associate with a certain subject. For instance, picture sleeping. Whenever you hear the word sleep, you immediately understand all the steps associated to it in your mind. This is because you have the right mental models formed for them.

Now, hitting pause on that for a bit, let me tell you something about myself. I'm a huge comic book nerd. I have more comic books than I can read and you might regularly find me making comic book or pop culture jokes. So, one day I thought, what if I could get the characters that I love, the tech concepts that I miss to write mental models, and I build a nerdy guide to the web trending concepts? So, this is the essence of the talk that we're going to be seeing.

Before anything else, let me start by introducing myself. My name is Daniel Afons. I'm working as a developer advocate at OLX. I'm an IDN instructor. I'm an Altura ambassador. You can find me on X and pretty much any social network at the handle DanielJCAfons. Also something about me, I recently published a book about React Query. Part of the book is state management with React Query. I'm up to chat with all the things related with React Query. Feel free to reach out to me on social networks. Now, before we start the talk, I just want to make a small disclaimer, which is this talk will include some fan-made stories using characters that are owned by Marvel or DC Comics.

2. Introduction to the Talk (Part 2)

Short description:

I'm putting this out there to help build the right mental models. I want to thank Attila and Matheus for their feedback on the mental models. This talk consists of presenting a topic and two characters, telling a comic book story, and then explaining the technical aspects. Today, we'll be exploring hydration with Iron Man. After building multiple armors by hand, Tony Stark reprogrammed his AI, Friday, to automate the process. Friday successfully built a new armor.

I'm putting this out of there so you're aware of the characters that you see. I do not own them, but I'm just using them to help build the right mental models on all of you.

Another thing that's important to say is I want to share some love. I want to thank these amazing people, Attila and the Matheus, because without them, this talk wouldn't be what it is today. They gave me the right feedback and the feedback on the mental models. So, I just want to share some love and thank them for building this talk, and helping me build this talk.

Now, before we start, how will this talk work? Well, ideally, if you were in person, you would be deciding. You see, this talk is going to be consisted by a couple of things. First, what happens is I present you with a topic and two characters. For each character, ideally, the audience would pick which character we'd be seeing. Then afterwards, for the selected character, I would tell you a comic book story. After we wrap up that story, I would show you the technical explanations behind. We'd start with the story and then go to the technical concept of it. Because today we are doing this online and it's not in person, I'll be picking only Marvel characters, so we'll go with the characters from Marvel.

In this talk, today, we'll be seeing two topics. We'll be seeing hydration and we'll be seeing reasonability. I hope you're ready to start because it's time for hydration. For hydration, like I said, if you would be picking, you would be able to choose between Iron Man or Lex Luthor. Both of them would help us see the story for hydration. For this scenario, considering, like I said, once again, we're remote, I'm picking Iron Man, so I just pick the character. And now I'll take the role of a narrator, and I'll tell you a story. And after the story ends, we'll see the technical aspects of it. So I hope you're ready, I'm ready. So, after building Mark 1, Mark 2, and Mark 3 by hand, Tony Stark didn't want to repeat the process of building a new armor by himself. You see, doing this is quite a slow process, and Tony wanted it to be faster, so he thought, maybe I can reprogram Friday, his custom AI, to know all the steps for building a new armor. And once he did so, all that was left was to ask Friday to build him that armor. And they did. So Friday plugged into the manufacturing and started to work. After a bit, the armor was ready. Great success.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Building Better Websites with Remix
React Summit Remote Edition 2021React Summit Remote Edition 2021
33 min
Building Better Websites with Remix
Top Content
Remix is a web framework built on React Router that focuses on web fundamentals, accessibility, performance, and flexibility. It delivers real HTML and SEO benefits, and allows for automatic updating of meta tags and styles. It provides features like login functionality, session management, and error handling. Remix is a server-rendered framework that can enhance sites with JavaScript but doesn't require it for basic functionality. It aims to create quality HTML-driven documents and is flexible for use with different web technologies and stacks.
Speeding Up Your React App With Less JavaScript
React Summit 2023React Summit 2023
32 min
Speeding Up Your React App With Less JavaScript
Top Content
Watch video: Speeding Up Your React App With Less JavaScript
Mishko, the creator of Angular and AngularJS, discusses the challenges of website performance and JavaScript hydration. He explains the differences between client-side and server-side rendering and introduces Quik as a solution for efficient component hydration. Mishko demonstrates examples of state management and intercommunication using Quik. He highlights the performance benefits of using Quik with React and emphasizes the importance of reducing JavaScript size for better performance. Finally, he mentions the use of QUIC in both MPA and SPA applications for improved startup performance.
Full Stack Documentation
JSNation 2022JSNation 2022
28 min
Full Stack Documentation
Top Content
The Talk discusses the shift to full-stack frameworks and the challenges of full-stack documentation. It highlights the power of interactive tutorials and the importance of user testing in software development. The Talk also introduces learn.svelte.dev, a platform for learning full-stack tools, and discusses the roadmap for SvelteKit and its documentation.
SolidJS: Why All the Suspense?
JSNation 2023JSNation 2023
28 min
SolidJS: Why All the Suspense?
Top Content
Suspense is a mechanism for orchestrating asynchronous state changes in JavaScript frameworks. It ensures async consistency in UIs and helps avoid trust erosion and inconsistencies. Suspense boundaries are used to hoist data fetching and create consistency zones based on the user interface. They can handle loading states of multiple resources and control state loading in applications. Suspense can be used for transitions, providing a smoother user experience and allowing prioritization of important content.
From GraphQL Zero to GraphQL Hero with RedwoodJS
GraphQL Galaxy 2021GraphQL Galaxy 2021
32 min
From GraphQL Zero to GraphQL Hero with RedwoodJS
Top Content
Tom Pressenwurter introduces Redwood.js, a full stack app framework for building GraphQL APIs easily and maintainably. He demonstrates a Redwood.js application with a React-based front end and a Node.js API. Redwood.js offers a simplified folder structure and schema for organizing the application. It provides easy data manipulation and CRUD operations through GraphQL functions. Redwood.js allows for easy implementation of new queries and directives, including authentication and limiting access to data. It is a stable and production-ready framework that integrates well with other front-end technologies.
RedwoodJS: The Full-Stack React App Framework of Your Dreams
React Summit Remote Edition 2021React Summit Remote Edition 2021
43 min
RedwoodJS: The Full-Stack React App Framework of Your Dreams
Top Content
Redwood JS is a full stack React app framework that simplifies development and testing. It uses a directory structure to organize code and provides easy data fetching with cells. Redwood eliminates boilerplate and integrates Jest and Storybook. It supports pre-rendering and provides solutions for authentication and deployment. Redwood is a cross-client framework that allows for building web and mobile applications without duplicating work.

Workshops on related topic

Building WebApps That Light Up the Internet with QwikCity
JSNation 2023JSNation 2023
170 min
Building WebApps That Light Up the Internet with QwikCity
Featured WorkshopFree
Miško Hevery
Miško Hevery
Building instant-on web applications at scale have been elusive. Real-world sites need tracking, analytics, and complex user interfaces and interactions. We always start with the best intentions but end up with a less-than-ideal site.
QwikCity is a new meta-framework that allows you to build large-scale applications with constant startup-up performance. We will look at how to build a QwikCity application and what makes it unique. The workshop will show you how to set up a QwikCitp project. How routing works with layout. The demo application will fetch data and present it to the user in an editable form. And finally, how one can use authentication. All of the basic parts for any large-scale applications.
Along the way, we will also look at what makes Qwik unique, and how resumability enables constant startup performance no matter the application complexity.
Back to the Roots With Remix
React Summit 2023React Summit 2023
106 min
Back to the Roots With Remix
Featured Workshop
Alex Korzhikov
Pavlik Kiselev
2 authors
The modern web would be different without rich client-side applications supported by powerful frameworks: React, Angular, Vue, Lit, and many others. These frameworks rely on client-side JavaScript, which is their core. However, there are other approaches to rendering. One of them (quite old, by the way) is server-side rendering entirely without JavaScript. Let's find out if this is a good idea and how Remix can help us with it?
Prerequisites- Good understanding of JavaScript or TypeScript- It would help to have experience with React, Redux, Node.js and writing FrontEnd and BackEnd applications- Preinstall Node.js, npm- We prefer to use VSCode, but also cloud IDEs such as codesandbox (other IDEs are also ok)
Let AI Be Your Docs
JSNation 2024JSNation 2024
69 min
Let AI Be Your Docs
Workshop
Jesse Hall
Jesse Hall
Join our dynamic workshop to craft an AI-powered documentation portal. Learn to integrate OpenAI's ChatGPT with Next.js 14, Tailwind CSS, and cutting-edge tech to deliver instant code solutions and summaries. This hands-on session will equip you with the knowledge to revolutionize how users interact with documentation, turning tedious searches into efficient, intelligent discovery.
Key Takeaways:
- Practical experience in creating an AI-driven documentation site.- Understanding the integration of AI into user experiences.- Hands-on skills with the latest web development technologies.- Strategies for deploying and maintaining intelligent documentation resources.
Table of contents:- Introduction to AI in Documentation- Setting Up the Environment- Building the Documentation Structure- Integrating ChatGPT for Interactive Docs
Learn Fastify One Plugin at a Time
Node Congress 2021Node Congress 2021
128 min
Learn Fastify One Plugin at a Time
Workshop
Matteo Collina
Matteo Collina
Fastify is an HTTP framework for Node.js that focuses on providing a good developer experience without compromising on performance metrics. What makes Fastify special are not its technical details, but its community which is wide open for contributions of any kind. Part of the secret sauce is Fastify plugin architecture that enabled developers to write more than a hundred plugins.This hands-on workshop is structured around a series of exercises that covers from basics "hello world", to how to structure a project, perform database access and authentication.

https://github.com/nearform/the-fastify-workshop
Build a Universal Reactive Data Library with Starbeam
JSNation 2023JSNation 2023
66 min
Build a Universal Reactive Data Library with Starbeam
WorkshopFree
Yehuda Katz
Yehuda Katz
This session will focus on Starbeam's universal building blocks. We'll use Starbeam to build a data library that works in multiple frameworks.We'll write a library that caches and updates data, and supports relationships, sorting and filtering.Rather than fetching data directly, it will work with asynchronously fetched data, including data fetched after initial render. Data fetched and updated through web sockets will also work well.All of these features will be reactive, of course.Imagine you filter your data by its title, and then you update the title of a record to match the filter: any output relying on the filtered data will update to reflect the updated filter.In 90 minutes, you'll build an awesome reactive data library and learn a powerful new tool for building reactive systems. The best part: the library works in any framework, even though you don't think about (or depend on) any framework when you built it.
Table of contents- Storing a Fetched Record in a Cell- Storing multiple records in a reactive Map- Reactive iteration is normal iteration- Reactive filtering is normal filtering- Fetching more records and updating the Map- Reactive sorting is normal sorting (is this getting a bit repetitive?)- Modelling cache invalidation as data- Bonus: reactive relationships
Build a Product Page with Shopify’s Hydrogen Framework
React Advanced 2022React Advanced 2022
81 min
Build a Product Page with Shopify’s Hydrogen Framework
WorkshopFree
David Witt
David Witt
Get hands on with Hydrogen, a React-based framework for building headless storefronts. Hydrogen is built for Shopify commerce with all the features you need for a production-ready storefront. It provides a quick start, build-fast environment so you can focus on the fun stuff - building unique commerce experiences. In this workshop we’ll scaffold a new storefront and rapidly build a product page. We’ll cover how to get started, file-based routing, fetching data from the Storefront API, Hydrogen’s built-in components and how to apply styling with Tailwind.You will know:- Get started with the hello-world template on StackBlitz- File-based routing to create a /products/example route- Dynamic routing /products/:handle- Hit the Storefront API with GraphQL- Move the query into the Hydrogen app- Update the query to fetch a product by handle- Display title, price, image & description.- Tailwind styling- Variant picker and buy now button- Bonus if there’s time: Collections page
Prerequisites: - A Chromium-based browser (StackBlitz)- Ideally experience with React. A general web development background would be fine.