Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate onto supabase-js v2 #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Migrate onto supabase-js v2 #9

wants to merge 1 commit into from

Conversation

harshhhdev
Copy link
Owner

This repository migrates the library onto Supabase's new v2 JavaScript client.

It introduces a new hook called useUser, and we add a context around our application where we mount our user onto the application inside our useEffect hook.

This also fixes #7 and will close #8.

@harshhhdev
Copy link
Owner Author

Most things work right now, it's just kmenu which is unable to update default state.
The fix for this will have to come in kmenu rather than this library, and I'll begin working on it whenever I get a chance.

@harshhhdev harshhhdev added this to the snip v1 milestone Aug 24, 2022
@harshhhdev harshhhdev added enhancement New feature or request help wanted Extra attention is needed labels Aug 24, 2022
@harshhhdev harshhhdev requested a review from ibra August 24, 2022 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Migrate project over onto Supabase's new JavaScript client [BUG] User not detected on first load
1 participant