...

/

Delayed Rendering: x-cloak

Delayed Rendering: x-cloak

Learn to use x-cloak to hide elements before AlpineJS is loaded.

We'll cover the following...

The x-cloak directive

We use the x-cloak to delay the rendering of elements until AlpineJS has fully loaded. In some of the examples from the previous lessons, some elements were flickering before AlpineJS loaded. We can prevent flickering by using the x-cloak directive. In ...