
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@storeon/solidjs
Advanced tools
Solid.js a declarative, efficient, and flexible JavaScript library for building user interfaces. @storeon/solidjs package helps to connect store with Solid.js to provide a better performance and developer experience while remaining so tiny.
npm install -S @storeon/solidjs
or
yarn add @storeon/solidjs
Create store using storeon module:
store.jsimport { createStoreon } from 'storeon'
let counter = store => {
store.on('@init', () => ({ count: 0 }))
store.on('inc', ({ count }) => ({ count: count + 1 }))
}
export const store = createStoreon([counter])
main.jsProvide store using StoreonProvider from @storeon/solidjs:
import { render } from 'solid-js/dom'
import { StoreonProvider } from '@storeon/solidjs'
import { store } from './store'
render(
<StoreonProvider store={store}>
<App />
</StoreonProvider>,
document.body
)
Import useStoreon decorator from @storeon/solidjs:
Counter.jsximport { useStoreon } from '@storeon/solidjs'
export default function Counter() {
const [state, dispatch] = useStoreon()
return (
<div>
{state.count}
<button onClick={() => dispatch('inc')}>inc</button>
</div>
)
}
Counter.tsximport { useStoreon } from '@storeon/solidjs'
import { State, Events } from './store'
export default function Counter() {
const [state, dispatch] = useStoreon<State, Events>()
return (
<div>
{state.count}
<button onClick={() => dispatch('inc')}>inc</button>
</div>
)
}
FAQs
A tiny connector for Storeon and Solid.js
We found that @storeon/solidjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.