Building with AdonisJS & Inertia #2.4

Global Components and Hydration Mismatch in Action

In This Lesson

We'll learn how to register components globally inside our Vue application. We'll also learn what to watch out for and examine a hydration mismatch in action.

Created by
@tomgobich
Published

⏳ Chapters

00:00 - Registering Components Globally on Client
02:13 - Hydration Node Mismatch Warning & Error
03:54 - Registering Components Globally on Server

Join the Discussion 3 comments

Create a free account to join in on the discussion
  1. Hi Tom - how to do the same setup with react

    2
    1. Responding to carlos-barbier
      @tomgobich

      Hi Carlos! Though I haven't worked with React since its class days (years ago), unless anything recently has changed, I don't believe React has a concept of global components. So, unfortunately, I don't believe this same global registration will work with React.

      3
      1. Responding to tomgobich

        cheers!

        2