# What changed in react-inlinesvg

> 5 changes in react-inlinesvg 4 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/react-inlinesvg/

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

## react-inlinesvg 4

### New APIs and options

- Adds a function to modify IDs in SVG styles. (4.3.0) — [release notes](https://github.com/gilbarbara/react-inlinesvg/releases/tag/v4.3.0)
- Adds a hook to handle the inline SVG lifecycle. (4.3.0) — [release notes](https://github.com/gilbarbara/react-inlinesvg/releases/tag/v4.3.0)

### Tooling

- An explicit return type was added to InlineSVG, clarifying its TypeScript type. (4.4.1) — [release notes](https://github.com/gilbarbara/react-inlinesvg/releases/tag/v4.4.1)

### Fixes and other changes

- Concurrent cache waiters no longer silently fail when an in-flight operation errors. (4.4.0) — [release notes](https://github.com/gilbarbara/react-inlinesvg/releases/tag/v4.4.0)
- Fixes an infinite re-render loop when many SVGs load with the loader prop. (4.3.0) — [release notes](https://github.com/gilbarbara/react-inlinesvg/releases/tag/v4.3.0)
