Shu Ding

Results 376 comments of Shu Ding

Correct! With this solution it will automatically collect the data that is used in the page and "generate" `getStaticProps` for it. But you have to add that HoC to every...

Yeah that's a good idea, currently it's kinda restricted by Next.js' file-system routing and I don't see an easy way to bypass that. Will keep this issue open for now,...

Great feedback! These two examples are not equivalent at all. We should update this to be more clear indeed.

Yes like @KevinDoughty said, I noticed that once removed the event listener in `useSyncExternalStore` it won't be registered again upon re-rendering. That breaks the browser navigation transitions. And that's why...

Thanks for your effort! As I mentioned https://github.com/shuding/next-view-transitions/issues/7#issuecomment-2079263086 this fix breaks browser navigations (Back/Forward) and as I merged #11, this PR can be closed now.

Could you create a reproduction on https://codesandbox.io/ or https://stackblitz.com? Thanks!