# What changed in @rive-app/react-canvas

> 15 changes in @rive-app/react-canvas 4 from its official release notes, upgrade guides and advisories: 1 breaking, 4 deprecations, 7 new APIs and options. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/@rive-app/react-canvas/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @rive-app/react-canvas 4

### Breaking changes

- When enableGPUCanvas is enabled, the React-side default for useOffscreenRenderer changes to false. (4.34.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.34.0)

### Deprecations

- The animations parameter inherits its deprecation from the JS runtime. (4.33.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.33.0)
- The automaticallyHandleEvents parameter inherits its deprecation from the JS runtime. (4.33.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.33.0)
- The stateMachines parameter inherits its deprecation from the JS runtime. (4.33.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.33.0)
- The useStateMachineInput hook is deprecated. (4.33.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.33.0)

### New APIs and options

- Adds the enableInkbleed parameter from the JS runtime. (4.37.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.37.0)
- Adds support for directional focus navigation. (4.36.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.36.0)
- Adds early support for key inputs. (4.36.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.36.0)
- Adds early support for text inputs. (4.36.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.36.0)
- Opt in to GPU Canvas rendering through useRiveFile, useRive, or <Rive /> in the @rive-app/react-webgl2 runtime. A supplied riveFile's rendering mode takes precedence. (4.34.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.34.0)
- The Rive component gains a stateMachine parameter. (4.33.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.33.0)
- Adds a hook for font databound properties. (4.31.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.31.0)

### Behavior and default changes

- If explicitly set to true, useOffscreenRenderer prevents GPU Canvas content from rendering, even when enableGPUCanvas is enabled. (4.34.0) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.34.0)

### Fixes and other changes

- Fixes the canvas getting a 0x0 size when using React strict mode. (4.34.2) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.34.2)
- The canvas backing store is released on unmount. (4.34.1) — [release notes](https://github.com/rive-app/rive-react/releases/tag/v4.34.1)
