---
title: "lottie-react 3.0.0 Breaking Changes on npm | Since.dev"
description: "What each lottie-react release removed, renamed or changed: 41 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/lottie-react
last_updated: 2026-12-04
---

# lottie-react breaking changes

lottie-react 3.0.0 (August 15, 2026) is its newest release with breaking changes, 41 of them. The first: Removed Action. Every breaking API change we have recorded in lottie-react on npm: 41 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.1.2`, released September 7, 2026. [Source repository](https://github.com/Gamote/lottie-react)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## lottie-react 3.0.0 breaking changes

lottie-react 3.0.0, released August 15, 2026: 41 breaking changes.

- **Removed** `Action`  

Action was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `animationContainerRef`  

Use a ref on the component, which is the rendered element. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `Axis`  

Axis was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `default`  

Import the component by name, for example { Lottie }, instead of using a default import. [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `destroy`  

Unmount the component instead of calling destroy(). [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `getDuration`  

Read the playableDuration value instead of calling getDuration(), or playableFrames for a frame count. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `goToAndPlay`  

Call seek(...) and then play() instead. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `goToAndStop`  

Use seek(frame) or seek({ seconds }) instead. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `InteractivityProps`  

InteractivityProps was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `Listener`  

Listener was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `LottieComponentProps`  

LottieComponentProps was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `LottieOptions`  

Update type imports to UseLottieOptions. [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `LottiePlayer`  

Engine global settings are set through configureLottie instead. [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `LottieRef`  

LottieRef was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `LottieRefCurrentProps`  

Update type imports to LottieHandle. [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `onDestroy`  

There is no equivalent subscription in v3. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `onLoadedImages`  

There is no equivalent subscription in v3. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `onSegmentStart`  

There is no equivalent subscription in v3. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `PartialListener`  

PartialListener was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `PartialLottieComponentProps`  

PartialLottieComponentProps was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `PartialLottieOptions`  

PartialLottieOptions was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `Position`  

Position was removed in lottie-react 3.0.0 [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Removed** `setSubframe`  

There is no replacement method in v3. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Removed** `useLottieInteractivity`  

Use the interactions module and its factories such as lottieScrollScrub instead. [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)
- **Renamed** `animationData`  

Pass the animation data or a path or URL through src instead of animationData. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `animationLoaded`  

Read the state value instead of animationLoaded. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `initialSegment`  

Use the segment prop in place of initialSegment. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `interactivity`  

Use the interactions module and its factories instead of the interactivity prop. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `onComplete`  

Move the handler into the subscriptions object under complete. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `onDataFailed`  

The handler moves to subscriptions.error and receives an object with error. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `onDataReady`  

Move the handler into the subscriptions object under ready. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `onEnterFrame`  

The handler moves to subscriptions.frame and receives an object with currentFrame. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Renamed** `onLoopComplete`  

Move the handler into the subscriptions object under loopCompleted. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Behavior changed**  

Generated element IDs now carry the lottie-react prefix, so code that matches the old IDs must be updated. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Behavior changed** `playSegments`  

Calls now interrupt current playback; pass { queue: true } to queue the segments instead. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Behavior changed** `useLottie`  

Attach lottie.setDisplayRef to your own element; the hook no longer returns a View to render. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Default changed** `autoplay`  

Animations no longer play on mount unless autoplay is set explicitly. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Default changed** `loop`  

Animations play once unless loop is set explicitly. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Configuration changed**  

React and react-dom 16.8 and 17 are no longer supported; upgrade them to 18.2 or newer. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Signature changed** `setDirection`  

Replace numeric direction arguments with the strings forward and reverse. [lottiereact.com](https://lottiereact.com/docs/migration)
- **Signature changed** `useLottie`  

Was const useLottie: \<T extends RendererType = "svg">(props: LottieOptions\<T>, style?: CSSProperties) => {View: ReactElement;} & LottieRefCurrentProps; now function useLottie\<Renderer extends LottieRenderer = typeof... [npmjs.com](https://www.npmjs.com/package/lottie-react/v/3.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
