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

Add a useClient composition #37

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

Conversation

mattbob
Copy link

@mattbob mattbob commented Aug 28, 2023

Sets up a useClient composition for direct access to functions exposed in createClient from @propelauth/javascript (#32)

@andrew-propelauth
Copy link
Contributor

Hey @mattbob - thanks for opening this! One question for you, is there some specific functionality that you were looking for from the underlying client? A lot of the React hooks/HOCs are effectively wrappers around the auth client, so it'd be great to know if we are missing a hook/HOC.

@dbartholomae
Copy link

@andrew-propelauth jumping in here as I would need the same functionality. Here's the related issue:
#32
Without this, we will need to work with the JavaScript SDK instead of the React one so that we can expose changes in the login-state to our Redux store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants