Commit Graph

3 Commits

Author SHA1 Message Date
jesse
09bb61e738
perf: Radio Group usePrevious instead of useState (#25122)
* perf: Radio Group usePrevious instead of useState

* fix: only re-run if value changes

* perf: put usePrevious custom Hook in _util/ref.ts

* Generics instead of any

* update
2020-06-30 10:45:16 +08:00
Amumu
245deed4b6
fix proper react import again (#23762) 2020-04-29 22:06:04 +08:00
二货机器人
4680ddc009
fix: Typography warning for ref error (#19074)
* Revert "fix: Typography funtion compoent use Ref console log warning (#19066)"

This reverts commit 3d378f2fd8.

* fix: Typography warning for ref

* not crash on react 15

* still use class if react15

* fix ts define

* clean up

* react 15 lock ref obj

* Use rc-util findDOMNode instead
2019-10-01 01:06:09 -05:00