Dovahkiin

Results 6 comments of Dovahkiin

``` const mySetInterval = (fn,duration)=>{ const timer = {} function timeout(fn,duration){ return setTimeout(()=>{ fn(); timer.timeout = timeout(fn,duration) },duration) } timer.timeout = timeout(fn,duration) return timer } const clearMySetInterval = (timer)=>{ clearTimeout(timer.timeout)...

``` 00:00:02.527 |N| GUI.RenderLoop Gpu PrintGpuInformation: NVIDIA NVIDIA GeForce RTX 3060 Ti (Vulkan v1.3.236, Driver v531.41.0.0) 00:00:55.764 |W| HLE.OsThread.10 ServiceNv Wait: GPU processing thread is too slow, waiting on CPU......

react路由用哪个?

> react-router? 但是我在想我们要做成 SPA 吗? 现在都是spa吧,ssr首屏之后应该也是spa

还有到底需不需要ssr,架构差挺多的