Sizuo Liu

Results 9 comments of Sizuo Liu

i met the situation that when i use cra , i only do subscription in dev mode. after i build the app,then i use query to do ssr.then my backend...

[https://github.com/fred8617/apollo-ssr-loop](https://github.com/fred8617/apollo-ssr-loop) a repo useRef to do ssr,and run normal in client

老外那个nest-next在controller里用@Render做的转发,每次跳路由发现都会重新刷新页面

@ananiy 你好,我发现在生产环境下会报错找不到next-server/router,能帮忙看下么,我需要注掉这些代码才能正常生产 ![image](https://user-images.githubusercontent.com/35049517/58689850-b8da9800-83ba-11e9-9293-2f3ecd8787a7.png)

@ananiy 你好,昨天生产环境重装node_modules启动后找不到next-server,要手动安装server,去官方发现 ![image](https://user-images.githubusercontent.com/35049517/65648302-4ad67280-e034-11e9-9481-cdaa25db16bd.png)

> Maybe you need to set it to not expire or staleTime it's wried. I used official example in the [Preview](https://codesandbox.io/p/sandbox/intelligent-paper-nrqwcp), why to set staleTime in strict mode? @zhangmo8

@zhangmo8 actually, we are not on the same page. I need refresh the datas, but if I set staleTime to -1, the refresh is invalid.

> 你的问题其实是在于,非严格模式下,它两个数据是同步的,而严格模式下并没有同步更新,我认为它可能是react的render策略引起的问题 OK got it, 其实我想说的就是这个问题,如果开启StrictMode,就只能手动去refresh了

吉事办(微信小程序)- 吉林省级小程序 ![c22bedf83bc9350dd397190b06d519d](https://user-images.githubusercontent.com/35049517/86224167-1ee7af00-bbbb-11ea-8fda-9c84eb505662.jpg)