
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
storeon-inferno
Advanced tools
Inferno is the fast, React-like library for building high-performance user interfaces. storeon-inferno
package helps to connect store with Inferno to provide a better performance and developer experience while remaining so tiny.
npm install -S storeon-inferno
or
yarn add storeon-inferno
Create store using storeon
module:
store.js
import { createStoreon } from 'storeon'
let counter = store => {
store.on('@init', () => ({ count: 0 }))
store.on('inc', ({ count }) => ({ count: count + 1 }))
}
export const store = createStoreon([counter])
main.js
Provide store using StoreonProvider
from storeon-inferno
:
import { render } from 'inferno'
import { StoreonProvider } from 'storeon-inferno'
import { store } from './store'
render(
<StoreonProvider store={store}>
<App />
</StoreonProvider>,
document.body
)
Import connectStoreon
decorator from storeon-inferno
:
Counter.js
import { connectStoreon } from 'storeon-inferno'
const Counter = ({ count, dispatch }) => {
return (
<div>
{count}
<button onClick={() => dispatch('inc')}>inc</button>
</div>
)
}
export default connectStoreon('count', Counter)
1.0.0
FAQs
A tiny (377 bytes) connector for Storeon and Inferno
The npm package storeon-inferno receives a total of 2 weekly downloads. As such, storeon-inferno popularity was classified as not popular.
We found that storeon-inferno demonstrated a not healthy version release cadence and project activity because the last version was released 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.