-
-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
Using the new supabase-js 2.0.0-rc.3, and following the guide exactly, the channel is left undefined AND no payload is ever delivered when the I insert/update a row in the DB.
I have tried:
- created a new Supabase DB today, with one public table, enabled Realtime on the table, did not enable RLS
- verified my pub anon key & url is correct
- verified I have 2.0.0-rc.3 in my package.json
- tried with Firefox & Chrome
- tried with NextJS/React & now Vite/React
I also tried making an equivalent repo but with supabase-js v1 and the equivalent subscription method, and I do get a "subscription" object returned (woohoo!), but I still never get a payload when i insert/update the DB.
To Reproduce
create a fresh React repo with Vite,
edit only the App.jsx per my screenshot below.
Expected behavior
- Subscriptions to return a subscription object (or something)
- and for a payload to be delivered when I add/edit the DB.
Screenshots
System information
- macOS Monterey
- firefox, chrome
- node v16.15.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working