3 ms·
Hey Raphael, Colin from Clerk here. Alex popped into our Slack and we've been looking into whether an integration is possible. We haven't found a way to wrap
by colinclerk 6y ago
Hey Raphael, Colin from Clerk here. Alex popped into our Slack and we've been looking into whether an integration is possible.
We haven't found a way to wrap the entire WeWeb application with a <ClerkProvider> component (which is a React context under the hood and informs our other components). Is that possible?
Or, in lieu of that, is there a way to hook Javascript into the rendering lifecycle of a page/component. Behind our React components is just vanilla JS, so if there were a way to control rendering based on window.Clerk.user being null, we'd be off to a good start for simple authenticated pages. (You can play with window.Clerk.user in console on https://accounts.clerk.dev https://accounts.clerk.dev to see how it works)
Would love to collaborate on an integration! You can reach me at colin@clerk.dev
- raphael-gold 6y agolooks like it could be possible :) I just sent you a message so we can discuss it further!