npm / react-inlinesvg
react-inlinesvg
What changed in react-inlinesvg 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
2 new APIs and options1 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-inlinesvg 45 changes
New APIs and options 2
Adds a function to modify IDs in SVG styles.
Adds a hook to handle the inline SVG lifecycle.
Tooling 1
An explicit return type was added to InlineSVG, clarifying its TypeScript type.
Fixes and other changes 2
Concurrent cache waiters no longer silently fail when an in-flight operation errors.
Fixes an infinite re-render loop when many SVGs load with the loader prop.