
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
Simple reactive state management.
import {makeAtom, useAtom} from 'j-atom'
import {useAtom} from 'j-atom/react'
// create atom
const atom = makeAtom<T>()
const atomWithInitial = makeAtom<T>(initialValue) // with initial value
// use atom in React component
const value = useAtom(atom)
// getter and setter
atom.value = newValue // set value synchronously
const currentValue = atom.value // get value synchronously
// subscribe for changes
const unsub = atom.sub((newVal, oldVal) => console.log(newVal, oldVal))
const unsub2 = atom.sub(() => console.log(atom.value))
// subscribe with cleanup
const unsub3 = atom.sub((newVal) => {
const handler = () => console.log('cleanup')
window.addEventListener('resize', handler)
return () => window.removeEventListener('resize', handler)
})
// subscribe and run immediately
const unsub4 = atom.sub((newVal, oldVal) => console.log(newVal, oldVal), {now: true})
// subscribe with conditional updates
const unsub5 = atom.sub(
(newVal, oldVal) => console.log(newVal),
{skip(newVal, oldVal) {return newVal === oldVal}} // skip if values are the same
)
unsub() // unsubscribe
makeAtom<T>(initialValue?: T): Creates an atom with optional initial valueuseAtom(atom: Atom<T>): T: React hook to subscribe to atom changesatom.value: Get or set the value synchronouslyatom.sub(subscriber, options?): Subscribe to value changes
(newValue, oldValue) and can return cleanup functionnow: boolean - Call subscriber immediately with current valueskip: (newVal, oldVal) => boolean - Skip subscriber if returns trueFAQs
Simple reactive state management.
We found that j-atom 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.