
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@polybase/react
Advanced tools
React wrapper for @polybase/client.
npm install @polybase/react
yarn add @polybase/react
import * as React from 'react'
import { PolybaseProvider } from '@polybase/react'
import { Polybase } from '@polybase/client/web'
const polybase = new Polybase()
export const App = () => {
return (
<PolybaseProvider polybase={polybase}>
{/* ... your app routes */}
</PolybaseProvider>
)
}
import * as React from 'react'
import { usePolybase, useRecord } from '@polybase/react'
export const Component = () => {
const polybase = usePolybase()
const { data, error, loading } = useRecord<OptionalCustomType>(polybase.collection('users').record('id'))
return data.data.name
}
import * as React from 'react'
import { usePolybase, useCollection } from '@polybase/react'
export const Component = () => {
const polybase = usePolybase()
const { data, error, loading } = useCollection<OptionalCustomType>(polybase.collection('users'))
const usersEl = map(data, ({ data }) => {
return (
<div key={data.id}>
{data.name}
</div>
)
})
return usersEl
}
FAQs
React wrapper for @polybase/client
The npm package @polybase/react receives a total of 71 weekly downloads. As such, @polybase/react popularity was classified as not popular.
We found that @polybase/react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.