Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 18, 2023
1 parent 68fd814 commit 2060e08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/houdini-react/src/runtime/routing/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export function Router({
const { component_cache } = useRouterContext()
const PageComponent = component_cache.get(page.id)!

// if we got this far then we're past the suspense
console.log('survived suspense!')

//
// Now that we know we aren't going to throw, let's set up the event listeners
//
Expand Down Expand Up @@ -509,6 +512,7 @@ function useLinkBehavior({
goto: (url: string) => void
preload: (url: string, which: PreloadWhichValue) => void
}) {
console.log('using link behavior')
// always use the click handler
useLinkNavigation({ goto })

Expand Down

0 comments on commit 2060e08

Please sign in to comment.