You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
I recently updated to React 18.3.2 and the Auth component completely crashed 100%. It seems like it's doing something behind the scenes w/ state management that is breaking in this new version.
Error message: TypeError: Cannot read properties of null (reading 'useState')
To Reproduce
Upgrade an app that uses the Auth component from 18.2.0 or lower to 18.3.2.
Render the Auth component in the UI like: <SupabaseAuth supabaseClient={supabase} />
The auth should crash the page w/ the error: Error message: TypeError: Cannot read properties of null (reading 'useState')
Expected behavior
Auth shuld work w/ React 18.3.2
AnsonDev42, GuillaumeDesforges and wildlyinaccurate