Переходы между страницами

Смена контекста с надёжным fallback.

MotionView Transitionsrouting

Когда использовать

Add state or route transitions without making navigation depend on them.

Решения для реализации

  1. Feature-detect document.startViewTransition; preserve the ordinary update path.
  2. Keep visible view-transition-name values unique.
  3. Skip positional animation for reduced motion.
  4. Do not delay navigation solely to finish an exit animation.

Как проверить результат

  • Updates work without the API.
  • Rapid changes reach the latest intended state.
  • No duplicate transition names.

Работающий пример

VIEW TRANSITION API

Change the scene.

Файлы

SKILL.mdcomponents/demos.tsx
WEBCRAFT © 2026Оригинальные исходники и интерактивные примерыMIT License