Commit Graph
1225 Commits
Author SHA1 Message Date
Tom Meagher a6aec9b055 docs: add react-supabase
Added `react-supabase` library to docs. [Docs](https://react-supabase.vercel.app) [GitHub](https://github.com/tmm/react-supabase)

This library differs from `useSupabase` in a few ways:

1/ *Light-weight context*

`react-supabase`'s context provider only stores the Supabase `client` while `useSupabase`'s context provider keeps track of the client, auth state, and fetched tables. Some folks might not want a root context to manage all these things due to rerenders, they want to handle request caching in [SWR](https://swr.vercel.app) or [React Query](https://react-query.tanstack.com/), etc.

2/ *Reactivity*

`react-supabase` hooks manage state internally and automatically update so you don't need to `useState` to set data, loading, errors, etc. `useSupabase` does not use this pattern (with the exception of `useTable`).

3/ *More hooks*

`react-supbase` hooks:
- general `useClient`
- auth `useAuthStateChange`, `useResetPassword`, `useSignIn`, `useSignOut`, `useSignUp`
- data `useDelete`, `useFilter`, `useInsert`, `useSelect`, `useUpdate`
- realtime `useSubscription` `useRealtime`
- storage coming soon

`useSupabase` hooks: `useSupabase`, `useUser`, `useTable`

4/ *Composable hooks*

- [`useAuthStateChange`](https://react-supabase.vercel.app/documentation/auth/use-auth-state-change) can be used to create your own auth state management system and not have to worry about cleaning up the auth listener. (See recipe [`useAuth`](https://react-supabase.vercel.app/recipes/use-auth).)
- [`useSubscription`](https://react-supabase.vercel.app/documentation/realtime/use-subscription) allows folks to subscribe for changes in an idiomatic React way.

5/ *TypeScript support*

`react-supabase` has more complete TypeScript support with generics. `useSupabase` does not.
2021-05-04 13:03:41 -04:00
Georges Duverger 438b44522d Add “Supabase in 6 minutes” video link
How to create a database and access it via a REST API in Supabase. From scratch. In 6 minutes.
2021-05-03 13:56:10 -04:00
Gaurav Singh 90f424629f Update commit based on feedback 2021-05-02 19:25:35 +05:30
Paul Copplestone d94879fcf4 We can't commit to a date for realtime enhanced security yet 2021-05-02 11:15:49 +08:00
Copple 8d164aa073 Merge pull request #1330 from jacobfenger/patch-2
Adding myself a s contributor and fixing a typo.
2021-05-01 12:42:23 +08:00
Jacob Fenger d845745669 Fixing typo on image tag for 'Edit this page' 2021-04-30 10:10:26 -07:00
Gareth Dwyer 3c2e9cc7d6 Update auth.mdx 2021-04-30 13:10:10 +02:00
Copple 6f8fd2a0c6 Merge pull request #1325 from supabase/typo
Fix typo on Full Stack Developers role page
2021-04-30 11:47:06 +08:00
Wen Bo Xie 843cb8a179 Fix typo on Full Stack Developers role page 2021-04-29 23:36:32 -04:00
Denis Teyssier 8de3cb03f3 docs(guides): Removed a line that were duplicate 2021-04-29 20:59:48 +02:00
Gaurav Singh 35a3164647 Fix #1304 , Define the defualt behavior of signUp
- Updated auth example to handle this.
- signUp function now gives error if the user is already registered.
- signIn function gives error when invalid email or password is entered.
2021-04-29 21:19:52 +05:30
Copple d741f90d44 Merge pull request #1314 from SandroMaglione/patch-1
Stripe Billing and Flutter Authenticaton guides
2021-04-29 17:50:18 +08:00
Paul Copplestone 75dbd0fc54 docs: Fixes broken links 2021-04-29 17:46:41 +08:00
Sandro Maglione 366517dc7b Stripe Billing and Flutter Authenticaton guides
Added two more blog posts in the Guides section:
- Subscriptions with Supabase and Stripe Billing: Part 1 of a series in which I explain how to implement authentication and stripe subscriptions using Supabase
- Flutter Supabase Authentication: Blog post in which I explain how to use Supabase authentication in supabase-dart
2021-04-29 09:25:07 +02:00
Paul Copplestone 405b00d5fd Adds the full stack role 2021-04-28 08:41:38 +08:00
Paul Copplestone e45c866695 Adds instructions for migrating between projects 2021-04-27 11:59:51 +08:00
Paul Copplestone fdc6f35c9a cleans the title syntax for the jobs listings 2021-04-26 20:21:30 +08:00
Paul Copplestone e7fc55760e Merge branch 'master' of github.com:supabase/supabase 2021-04-26 20:19:55 +08:00
Paul Copplestone 84a9aafbca Updates the application link 2021-04-26 20:19:49 +08:00
Rahul 9e5543bfbb Fix typo 2021-04-22 23:36:10 +05:30
Niketan Gulekar fa4f6b090b Update examples.mdk to include Instagram Clone
Added Supabase + React + Mobx-State-Tree Instagram Clone in Examples
2021-04-22 17:13:16 +05:30
0xflotus a803d0b0c1 chore: changed syntax highlighting
Shouldn't it be `sql` rather than `bash`?
2021-04-22 11:55:25 +02:00
Copple 541f868f14 Merge pull request #1237 from steveruizok/patch-1
Update database.mdx
2021-04-22 16:31:40 +08:00
Paul Copplestone 69ffe2272f Adds a link to our Jobs Board 2021-04-22 14:51:30 +08:00
Steve Ruiz 3e8d1fb87b Update database.mdx 2021-04-22 06:41:47 +01:00
Paul Copplestone d2e2db1eae fix: #1227. Adds important notice to update passwords for self hosting 2021-04-22 09:45:12 +08:00
Paul Copplestone 843eca0fd0 Adds better descriptions to roles 2021-04-21 17:10:15 +08:00
Paul Copplestone 4d8e46ded0 Minor grammar 2021-04-21 11:35:35 +08:00
Paul Copplestone 09761e3390 Recommendations from Inian 2021-04-21 11:33:05 +08:00
Paul Copplestone 878e7cef43 Minor grammatical improvements 2021-04-20 14:02:58 +08:00
Paul Copplestone e7289d3ebf Adds a few jobs 2021-04-20 13:14:25 +08:00
Lio Young 9fa32aca9c Update local-development.mdx 2021-04-15 14:04:05 +02:00
Copple bfd82ddac1 Merge pull request #1058 from mudssrali/docs-fixes
fix typos and update sentence text
2021-04-15 16:45:12 +08:00
Paul Copplestone 47cbef9d90 edits the contact address 2021-04-15 13:34:42 +08:00
Paul Copplestone 4b5b8f77c1 Adds an AUP 2021-04-15 13:20:30 +08:00
Paul Copplestone b8f9cc5cce Merge branch 'master' of github.com:supabase/supabase 2021-04-13 19:22:33 +08:00
Paul Copplestone a1e15fa18f Fixes localhost link 2021-04-13 19:22:06 +08:00
Paul Copplestone 6f3d6870ae Fix broken link 2021-04-13 19:03:16 +08:00
Paul Copplestone 7c98e25cf2 Adds videos to the docs 2021-04-13 18:55:33 +08:00
Paul Copplestone d1b9ba7a2a Adds docs for the API 2021-04-12 18:07:22 +08:00
Mudassar Ali 8883a5c1ef Merge remote-tracking branch 'upstream/master' into docs-fixes 2021-04-11 00:47:01 +05:00
Mudassar Ali aaaf00b74f fix a few more typos and change docs according to en-US 2021-04-11 00:31:43 +05:00
Ruan Martinelli b319eea728 docs: add "Authentication with Supabase and React" article 2021-04-08 10:26:03 +02:00
Paul Copplestone 92ce45d38b Adds a call for help 2021-04-05 15:02:48 +08:00
Mudassar Ali 0452439c25 fix typos and update sentence text 2021-04-04 23:23:03 +05:00
Nikhil Agarwal d203b90c3a Fix link for storage blog post 2021-04-03 20:47:13 -07:00
Mohamad Fadhil 63a47237c8 Fix typo 2021-04-03 08:48:41 -07:00
Dan Alloway 48b0adbfe7 GCS to Supabase Storage migration example 2021-04-02 00:36:29 -04:00
TN 77603b2c05 docs: add additional RLS policy example 2021-04-01 20:13:46 +02:00
Paul Copplestone 8bd5f7a601 Adds a note about missing Storage on local dev 2021-04-01 13:49:02 +08:00