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

feat: add authenticated and userData signals #1937

Merged
merged 2 commits into from May 12, 2024

Conversation

timdeschryver
Copy link
Contributor

@timdeschryver timdeschryver commented May 10, 2024

I had some time so I wanted to try-out signals within this library.

This PR adds two signals for the most common/used methods (from my perspective), which are isAuthenticated$ and userData$. I've just wrapped the observable with toSignal.

I've updated the standalone example app to test it out.

Thoughts? I can also convert this into an issue.

Anonymous:
image

Authenticated:
image

@FabianGosebrink FabianGosebrink merged commit 34ead65 into damienbod:main May 12, 2024
9 checks passed
@FabianGosebrink
Copy link
Collaborator

FabianGosebrink commented May 12, 2024

Thanks for this PR. I think it is a nice addition to move towards signals. Thanks!!!

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.

None yet

2 participants