Clerk Billing & Protected Routes
Has anyone integrated clerk billing into their tanstack start routes? Wanted to know how their <Protected/> components are working for y'all with loaders in the route?
Example:
I don't want to allow a user to access my /dashboard route unless they're subscribed and authenticated.
If they're authenticated and not subscribed, should either go to /onboarding or /subscribe based off their states
Example:
I don't want to allow a user to access my /dashboard route unless they're subscribed and authenticated.
If they're authenticated and not subscribed, should either go to /onboarding or /subscribe based off their states