@oscabriel@tan_stack I'm confused how returning early from the requireAuth guard triggers the pendingComponent to render. I would expect that to just render the page it's being called on instead of blocking?
@BrooksLybrand As someone probably in the same age group as you, I started saying them ironically because it’s funny but now it’s part of my vocabulary unfortunately.
@tannerlinsley@Necmttn Clicking on the buttons locally will reload the page to the other route, but not in the code sandbox. I've played with Next and React Router, neither of them actually switch routes when using history.replaceState.
Maybe that's intended behavior though. No worries if I'm too late
@tannerlinsley@Necmttn Hey Tanner,
Really sorry for the late reply; it was late at night for me when I sent that. I meant to do it in the morning, but it left my head.
It's odd because it's behaving like I'd expect in codesandbox, but not locally.
https://t.co/NcGlgxL5QI
1/2
@FredKSchott Would love to see some more examples of this. The only way I’ve ever been able to figure out how to render an spa in a splat route is by ssr-ing the route, which sort of defeats the purpose of loading the SPA in the first place.
@leeerob I appreciate you taking time to address all this, but all the issues you’re pointing out with other solutions (precompiling routes, using SPA instead) simply isn’t a problem at all in any vite powered framework (remix, tanstack).