Re:Launch HN: Weweb.io (YC W21) – Create websites visually u...
by raphael-gold on Wednesday February 24, 2021 @08:08PM
(#26258530)
looks like it could be possible :) I just sent you a message so we can discuss it further!
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 [email protected]