
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
react-supabase
Advanced tools
react-supabase is a React Hooks library for Supabase.
Visit the docs site for more info.
yarn add react-supabase @supabase/supabase-js
# or
npm install --save react-supabase @supabase/supabase-js
Create a Supabase client and pass it to the Provider:
import { createClient } from '@supabase/supabase-js'
import { Provider } from 'react-supabase'
const client = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
const App = () => (
<Provider value={client}>
<YourRoutes />
</Provider>
)
Now every component inside and under the Provider can use the Supabase client:
import { useSelect } from 'react-supabase'
const Todos = () => {
const [result, reexecuteSelect] = useSelect('todos')
const { data, fetching, error } = result
if (fetching) return <p>Loading...</p>
if (error) return <p>Oh no... {error.message}</p>
return (
<ul>
{data.map((todo) => (
<li key={todo.id}>{todo.title}</li>
))}
</ul>
)
}
The MIT License.
FAQs
React Hooks library for Supabase
The npm package react-supabase receives a total of 1,889 weekly downloads. As such, react-supabase popularity was classified as popular.
We found that react-supabase 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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.