Theo mentions 'Shimming React Router' into T3 chat. What does this mean?
Does this mean using NextJS with React Router? Not sure if this is possible ( I guess? ) or has just made this a vite app but he did mention making his initial shells look good...?
7 Replies
A video on how / why he set it up that way would be really cool ^
he has shown it before but i can't remember the video
in app/page.tsx he imports react router and sets up a standard react router set up
The why is for instantaneous page rendering when you navigate in the app
probably lol
but can't you get that with nextjs if you just 'use client' on each file?
why bring in another router, now you've got 2 routers in your package
really cool, will try find video
You can't "use client" page.tsx
you can