https://github.com/willkessler/clerk_invitation
Minimal implementation to demonstrate bug in clerk react sdk
https://github.com/willkessler/clerk_invitation
Last synced: about 1 year ago
JSON representation
Minimal implementation to demonstrate bug in clerk react sdk
- Host: GitHub
- URL: https://github.com/willkessler/clerk_invitation
- Owner: willkessler
- License: mit
- Created: 2024-02-13T02:39:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T02:51:08.000Z (over 2 years ago)
- Last Synced: 2024-02-13T03:49:18.162Z (over 2 years ago)
- Language: TypeScript
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clerk Invitation React Apparent Bug
Minimal implementation to demonstrate bug in clerk react sdk
1. Set up a .env file with the keys shown in .env_sample.
1. To see the bug, sign in. Ideally, you have an organization already created with the account you sign in.
1. Invite a user
1. You will see that the invitations list is not updated. If you have
the browser dev console open and click in the console and then
click back, suddenly, *magic* the invitations list gets updated.
In other words, it appears as if the context does not tell the
application to rerender after the invitation is sent until focus is
lost and regained by the browser window.
The important code is in the src/components directory.