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.

Published
Aug 27
Duration
5m 0s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

⏳ 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)

Please sign in or sign up for free to join in on the dicussion.

  1. Commented 1 month ago

    Hi Tom - how to do the same setup with react

    2

    Please sign in or sign up for free to reply

    1. Commented 1 month ago

      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.

      2

      Please sign in or sign up for free to reply

      1. Commented 1 month ago

        cheers!

        2

        Please sign in or sign up for free to reply