|
|
|
|
|
by colinclerk
1934 days 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 to see how it works) Would love to collaborate on an integration! You can reach me at colin@clerk.dev |
|