Passon

Results 6 comments of Passon

> > 自告奋勇,推荐下自己写的这个[liuye1296/react-keepAlive](https://github.com/liuye1296/react-keepAlive) 之前v5 我也是用的作者这个库,V6之后 可以利用V6跟React 原生API 实现keepAlive 不再需要第三方库实现了 > > @wkylin 根据这位大佬提供的实现方式,简化并提取最核心的部分: > > ```ts > import { ReactElement, useContext, useRef } from 'react'; > import { Freeze }...

这是你 applinks/universalLink 没有设置好的问题。

interval 做了个假的 ``` useEffect(() => { const timer = setInterval(() => { fnsRef.current && onChange?.(fnsRef.current.getValue()) }, 200) return () => { clearInterval(timer) } }, []) ```

我是配置媒体查询不做 px-vw 的转化,然后把写好的css复制一份到媒体查询中