palantir/blueprint

Switch from inputRef to ref for Inputs

オープン

#4,763 opened on 2021/06/14

 (1 件のコメント) (2 件のリアクション) (0 人の担当者)TypeScript (2,167 件のフォーク)batch import
P2Package: coreStatus: to triageType: breaking changeType: enhancementhelp wanted

Repository metrics

Stars
 (20,263 個のスター)
PR merge metrics
 (平均マージ 43d 10h) (30d で 27 merged PRs)

説明

Environment

  • Package version(s): v4 alpha
  • Browser and OS versions: all

Feature request

Blueprint v4 is switching elementRef to the "simpler, more straightforward" ref for non input elements. Can we also do the same for inputs that use inputRef. This would help with consistency of the library. Also for a less important reason, the massively popular React Hook Form is difficult to use if inputs do not have ref point to the actual input ref.

コントリビューターガイド