© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
wizzymotion

Realtime Update not working all times on React Context

Hi Folks...
I have a Settings Table that includes a "maintenance_mode" boolean column.

My React Context Provider read this table
if (maintenance_mode == false) it renders a { children }
but if (maintenance_mode == true) it renders an React Component <Maintenance/>

I'm facing something weird.

If I run my Application with (maintenance_mode == false)
when I change the "maintenance_mode" column to "true" using the Supabase Table Editor.
The realtime changes reflects instantly and my React Context works perfectly and render the <Maintenance/> component as expected.

But If I revert the "maintenance_mode" column to "false" , nothing happens.
Only after refresh the page the changes is applied.

Does anybody face something in this way before??

Thanks for helping me in advance...

Kindly

Rubens
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

React Realtime subscription not working
SupabaseSSupabase / help-and-questions
4y ago
Realtime not working
SupabaseSSupabase / help-and-questions
4mo ago
Realtime not working
SupabaseSSupabase / help-and-questions
4y ago
supabase realtime INSERT and UPDATE not working?
SupabaseSSupabase / help-and-questions
4y ago