hans000

Results 7 comments of hans000

@eight04 我猜测是tsconfig配置了 "jsx": "react-jsx",源码里不在需要显式的import react from 'react',所以解析不到了?

应该是使用了最新的tsconfig配置造成的,把打包里的import语句去掉就可以了,本质还是依赖的rollup-plugin-external-globals没有解决https://github.com/eight04/rollup-plugin-external-globals/issues/26

> Ok, I had the same issue on my laptop, but only something like once in twenty try. I can't currently work on fixing this bug, but I'll try later....

https://github.com/eslint/eslint/issues/18421

> 触控板设备不兼容,不是i2c总线的 yoga 14s 2021也是这个情况

我主要想问一下作者的看法,应该可以先注上deprecated 写上原因的,另开一个字段

拿官网的例子来说,实现一个最简单的功能也要使用onTabChange + activeTabKey,有些时候可能并不需要这些,只是单纯的要这这样一个效果。所以如果能支持render props的风格,暴露出渲染函数,直接使用内部的数据,处理起来会更简单,就不用维护这些变量了