@astrojs/react
7.1.9 · 13 Nov 2026MIT4M / weekRepositoryHomepagenpmAtom feed
Your version
0.4.3 is the newest release of 0.2.x.
In short
1 new
Release note
Minor Changes
Add support for passing named slots from
.astro=> framework components.Each
slotis be passed as a top-level prop. For example:// From .astro <Component> <h2 slot="title">Hello world!</h2> <h2 slot="slot-with-dash">Dash</h2> <div>Default</div> </Component>; // For .jsx export default function Component({ title, slotWithDash, children }) { return ( <> <div id="title">{title}</div> <div id="slot-with-dash">{slotWithDash}</div> <div id="main">{children}</div> </> ); }
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.