
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
solid-lazy-plus
Advanced tools
Drop-in replacement for solids lazy utility, supporting ssr of lazy loaded css.
This is a drop-in replacement for Solids lazy
utility specifically to be used in SolidStart projects. Compared to the original, this has the ability to properly register css assets of lazy loaded components during server-side rendering, in production builds.
This is experimental, third-party functionality and hopefully will be integrated into an official solid package, if it proves useful.
import { defineConfig } from "@solidjs/start/config";
import lazyPlusPlugin from "solid-lazy-plus/vite";
export default defineConfig({
vite(options) {
return {
plugins: [lazyPlusPlugin({ router: options.router })],
};
},
});
import { lazy } from "solid-lazy-plus";
// wrap import
const ComponentA = lazy(() => import("./ComponentA"));
// use in JSX
<ComponentA title={props.title} />;
FAQs
Drop-in replacement for solids lazy utility, supporting ssr of lazy loaded css.
The npm package solid-lazy-plus receives a total of 356 weekly downloads. As such, solid-lazy-plus popularity was classified as not popular.
We found that solid-lazy-plus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.