#Flickering when navigating using Link

17 messages · Page 1 of 1 (latest)

gentle cypress
#

Hi guys! I was trying out Tanstack Router examples for SolidJS:

  1. https://tanstack.com/router/latest/docs/framework/solid/examples/basic-solid-query-file-based
  2. https://tanstack.com/router/latest/docs/framework/solid/examples/kitchen-sink-file-based

I wonder why when navigating pages in example 1 the entire page seems to be flickering but it does not happen in example 2. Can anyone give me explanation ? thanks!

An example showing how to implement Basic Solid Query File Based in Solid using TanStack Router.

An example showing how to implement Kitchen Sink File Based in Solid using TanStack Router.

oblique fiber
#

cc @radiant umbra @granite grail

radiant umbra
oblique fiber
radiant umbra
#

Like it treats it like there is one empty Suspense boundary around everything, so then its falling back to an empty page which causes the flicker

gentle cypress
#

Hi thank you ,tried adding it into my personal project, it worked. I also tried to set autoCodeSplititng to false in vite.config.ts and the flicker gone.

mint acorn
#

Im having the same problem, autoCodeSplititng to false also fixed the flickering, im also seeing this warnings

radiant umbra
mint acorn
#

Also, this started happening when i went from "@tanstack/solid-router": "^1.111.3" to "@tanstack/solid-router": "^1.114.23" prior to that i had no warnings nor any flickering

mint acorn
radiant umbra
mint acorn
#

Works perfectly !!!

#

i still have this warning, don't know if could be also related

#

the warnings did not start on 1.111.13