Packages

@astrojs/solid-js

7.1.6 · 13 Nov 2026MIT382.4k / weekRepositoryHomepagenpmAtom feed

Your version

4.3.0

6 Jun 2024Where it was published

4.4.4 is the newest release of 4.x.

In short

1 new

Security

1 advisory affects 4.3.0; 7.1.2 fixes them

Release note

Minor Changes

  • The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.

    import { experimental_AstroContainer as AstroContainer } from 'astro/container';
    import ReactWrapper from '../src/components/ReactWrapper.astro';
    import { loadRenderers } from 'astro:container';
    import { getContainerRenderer } from '@astrojs/react';
    
    test('ReactWrapper with react renderer', async () => {
      const renderers = await loadRenderers([getContainerRenderer()]);
      const container = await AstroContainer.create({
        renderers,
      });
      const result = await container.renderToString(ReactWrapper);
    
      expect(result).toContain('Counter');
      expect(result).toContain('Count: <!-- -->5');
    });

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.