Gathering detailed insights and metrics for @reatom/npm-solid-js
Gathering detailed insights and metrics for @reatom/npm-solid-js
Gathering detailed insights and metrics for @reatom/npm-solid-js
Gathering detailed insights and metrics for @reatom/npm-solid-js
npm install @reatom/npm-solid-js
Typescript
Module System
Node Version
NPM Version
primitives: v3.11.0
Updated on May 19, 2025
lens: v3.12.0
Updated on May 19, 2025
form: v3.4.0
Updated on May 19, 2025
devtools: v0.13.1
Updated on May 12, 2025
primitives: v3.10.0
Updated on May 12, 2025
persist-web-storage: v3.4.6
Updated on May 12, 2025
TypeScript (99.17%)
JavaScript (0.77%)
Shell (0.03%)
HTML (0.03%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,201 Stars
2,795 Commits
121 Forks
20 Watchers
35 Branches
84 Contributors
Updated on Jul 10, 2025
Latest Version
3.6.2
Package Id
@reatom/npm-solid-js@3.6.2
Unpacked Size
29.87 kB
Size
5.18 kB
File Count
11
NPM Version
10.7.0
Node Version
20.15.0
Published on
Jun 22, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
This is the binding for the Solid view framework. The reason to use these bindings is the Reatom ecosystem. We have a lot of packages and helpers to handle basic UI logic, including network caching, data persistence, and complex flow description.
1npm i @reatom/npm-solid-js
Also, you need to be installed @reatom/core
or @reatom/framework
and solid-js
.
Read the core docs first for production usage.
Try it now: https://stackblitz.com/edit/reatomnpm-solid-js?file=src%2FApp.tsx
The first time, you need to add the Reatom provider to the root of your application.
1import { createCtx, connectLogger } from '@reatom/framework' 2import { reatomContext } from '@reatom/npm-solid-js' 3 4const ctx = createCtx() 5connectLogger(ctx) 6 7render( 8 () => ( 9 <reatomContext.Provider value={ctx}> 10 <App /> 11 </reatomContext.Provider> 12 ), 13 document.getElementById('root')!, 14)
Now you will be able to use Reatom hooks.
1import { atom } from '@reatom/framework' 2import { useAtom } from '@reatom/npm-solid-js' 3 4const countAtom = atom(0, 'countAtom') 5 6const App: Component = () => { 7 const [count, setCount] = useAtom(countAtom) 8 9 return ( 10 <div> 11 Count value is 12 <button onClick={() => setCount((c) => c + 1)}>{count()}</button> 13 </div> 14 ) 15}
If you need to get the ctx
from the context, you could use the shortcut hook useCtx
. With ctx
in the component body, you can manipulate subscriptions more flexibly with Solid's onMount
, onCleanup
, and so on.
This example shoes how to use atomization to improve editable fields performance, persists it to localStorage.
https://stackblitz.com/edit/reatomnpm-solid-js-mssqxj?file=src/model.ts,src/App.tsx
No vulnerabilities found.
Reason
30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
dangerous workflow patterns detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 2/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More