/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-3-using-useviewtran-18d35db85a65-3-using-useviewtransition-s0095-c0000.md
3. Using `useViewTransition` (1) - hono-docs
3. Using useViewTransition (1) Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt 3 using useviewtra...
3. Using useViewTransition (1)
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#3-using-useviewtransition
Summary
If you want to change the style only during the animation. You can use useViewTransition(). This hook returns the [boolean, (callback: () => void) => void], and they are the isUpdating flag and the startViewTransition() function....
Content
If you want to change the style only during the animation. You can use useViewTransition(). This hook returns the [boolean, (callback: () => void) => void], and they are the isUpdating flag and the startViewTransition() function.
When this hook is used, the Component is evaluated at the following two times.
- Inside the callback of a call to
startViewTransition(). - When the
finishpromise becomes fulfilled