
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
effector-react
Advanced tools
React bindings for effector
npm install --save effector effector-react
Or using yarn
yarn add effector effector-react
import {createStore, combine, createEvent} from 'effector'
import {useUnit} from 'effector-react'
const inputText = createEvent()
const $text = createStore('').on(inputText, (_, text) => text)
const $size = $text.map(text => text.length)
const Form = () => {
const {text, size} = useUnit({
text: $text,
size: $size,
})
const handleTextChange = useUnit(inputText)
return (
<form>
<input
type="text"
onChange={e => handleTextChange(e.currentTarget.value)}
value={text}
/>
<p>Length: {size}</p>
</form>
)
}
useUnit in docs Units in docs createStore in docs createEvent in docs
effector 23.3.0
skipVoid
and store without sid
will point to the line of store creation. This will help locate troublesome units easilyscopeBind
. This feature indirectly allows to use multiple arguments in reflect
(issue reflect#91)clearNode
(issue #1200)FAQs
React bindings for effector
The npm package effector-react receives a total of 21,437 weekly downloads. As such, effector-react popularity was classified as popular.
We found that effector-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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 MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.