#Router.invalidate() stopped working after update [solved in 1.16.6]
19 messages · Page 1 of 1 (latest)
can you please try to find out which version exactly introduced this bug?
@rancid arrow Somewhere between 1.16.2 and 1.16.5. (There are no 1.16.3 and 1.16.4 in the registry, so I couldn't try these.)
so 1.16.2 still works?
Yes!
As far as I can tell, there is nothing happening when calling invalidate(). I put some comments in different locations, nothing changes. Even the RouteComponents didn’t reload.
I can confirm, the same bug exists in the Kitchen-Sink example. (Try to create a invoice at Dashboard/Invoices)
The invalidate function is empty...
@verbal trout was the removal of the invalidate functionality intentional?
https://github.com/TanStack/router/commit/8c6de040c10b2d35002b518697bdcc33d9de1d3b#diff-2ac234f610fa0e0c2146252c10a5266af9c5b6d0b63659a0fa4c9f2c4472596aL1476
if no, I will revert this part
No not at all. Probably an auto fix artifact of eslint.