
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@tmonier/effract
Advanced tools
React components written as Effect programs. yield* services and React hooks in one render pass; run the same component anywhere.
Write React components as Effect programs. The same component runs in a SPA, on a Bun/Node server, in a Web Worker, or as a React Server Component.
import { Runtime, component, hook } from '@tmonier/effract';
import { useState } from 'react';
const Dashboard = component(function* () {
const stats = yield* Stats; // an Effect service
const [tab, setTab] = yield* hook(useState('overview')); // a real React hook
return <Panel tab={tab} total={stats.total} onTab={setTab} />;
});
export const App = () => (
<Runtime layer={AppLive}>
<Dashboard />
</Runtime>
);
component / view — hook-capable and resolve-up-front components.hook — lift a React hook into the yield* channel.<Runtime layer={...}> — provide an Effect runtime to a subtree.atom, observe, <Observe>, useAtom — the signals bridge.See the project README and ADR 0001.
MIT © Tmonier
FAQs
React components written as Effect programs. yield* services and React hooks in one render pass; run the same component anywhere.
The npm package @tmonier/effract receives a total of 5 weekly downloads. As such, @tmonier/effract popularity was classified as not popular.
We found that @tmonier/effract demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.