Shu Ding
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!
不必传递时间差……改成传递 UTC 时刻就可以
@vfleaking 那只能默认时间差不变,然后测量/消除网络延时了
赞同 server-sent events,或者 websocket(比如 GitHub 右上角的 notification)。 兼容性的话,[sse ~ 83.45%](http://caniuse.com/#search=EventSource),[websocket ~ 90.98%](http://caniuse.com/#search=websocket) 都得基本抛弃 IE 了(当然有些办法比如 [link](https://github.com/gimite/web-socket-js))。
I think we can find a good swagger UI library for React and use it in Nextra directly. What's the blocker?