Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
automerge-repo-solid-primitives
Advanced tools
These hooks are provided as helpers for using Automerge in your SolidJS project.
<RepoProvider repo={Repo}/>
Wrapper context required in Automerge-Repo Solid apps
useRepo(): Repo
Get a the current repo from the context.
useHandle<T>(() => AnyDocumentId): Resource<Handle>
Get a handle from the repo.
useDocument<T>(() => AnyDocumentId): [Resource<T>, (fn: changeFn<T>) => void]
Get a document and change function from the repo.
createDocumentStore<T>(() => Handle<T>): Resource<Doc<T>>
Create a store for a handle's document. We subscribe to the handle's changes, and apply the incoming patches to the precise the fields of the store that have changed to provide fine-grained reactivity that's consistent across space and time.
FAQs
automerge-repo primitives for your solidjs app
The npm package automerge-repo-solid-primitives receives a total of 4 weekly downloads. As such, automerge-repo-solid-primitives popularity was classified as not popular.
We found that automerge-repo-solid-primitives demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.