React hooks for supabase, type safe!
i use-supabase-hooks
import
{ useUser }
from
"use-supabase-hooks"
import
{ useAuth }
from
"use-supabase-hooks"
import
{ useSelectData }
from
"use-supabase-hooks"
const
{ data, loading, error }
=
useSelectData(client,
"users",
{
eqs:
[
"id",
1
]
}
)