Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

undocumented breaking change - ref methods focus & blur missing

オープン
#409 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript
領域
frontend

調査の方向性

まず、rc-tree-select 4.3.0 と 4.8.0 の間のリンクされたパッケージ diff を確認し、次にリポジトリの changelog または release notes を調べます。ref の focus および blur メソッドがどのように変更されたかを確認し、その breaking change と影響を受けるバージョンを、プロジェクトで確立されている release-note 形式で文書化します。

索引モデルが issue の本文から書いたものです。

説明

i upgraded from 4.3.0 to 4.8.0. as you can see in the diff, the focus and blur methods are no longer exposed, so i'm getting errors when trying to use it like:

import ReactTreeSelect from "rc-tree-select";

const ref = createRef<ReactTreeSelect>();
...
selectViewsRef.current.focus()

this is a breaking change in a minor version upgrade. please follow semver and do not introduce breaking changes in non-major upgrades. also, as far as i can tell, this change is not documented anywhere in the changelog / release notes. please document it.

for now i'll be pinning 4.3.0 and looking for an alternative library.

主要言語
TypeScript
スター
312
フォーク
204
平均マージ
37分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react-component/tree-select のほかの issue

react-component/tree-select の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。