Vue FesJapan 2026
The main visual of Vue Fes Japan 2026. It features a silhouette of a V, representing Vue, and a circle, representing the Japanese flag, side by side. The colors are deep matcha-like shades derived from the two colors, and the circle features a Japanese gold marbling pattern.
OtemachiPlace Hall & Conference

Speaker

Vue Track
11:15 - 11:25
Ryutaro Yako

Component Lifecycle and How to Handle Global State

VueUse composables assume they run inside a component and clean themselves up on unmount. Turning one into a singleton in your own composable creates a subtle bug: the first caller unmounts, the variable survives, but its internals silently break. VueUse has createGlobalState for exactly this case. I'll share what I learned from shipping that bug.

  • Unique Vision Company, Japan.
  • Chief Architect

Ryutaro Yako

  • Unique Vision Company, Japan.
  • Chief Architect

Ryutaro Yako

Component Lifecycle and How to Handle Global State

VueUse composables assume they run inside a component and clean themselves up on unmount. Turning one into a singleton in your own composable creates a subtle bug: the first caller unmounts, the variable survives, but its internals silently break. VueUse has createGlobalState for exactly this case. I'll share what I learned from shipping that bug.