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

Replace @radix-ui/react-tabs with the Tabs component from Headless UI

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript
領域
frontend

調査の方向性

リンクされている Radix の import がある src/tabs/tabs.tsx から始め、その後、React と Headless UI v2 のアップグレードに関する issue #232 を読んでください。基盤となるライブラリから独立してコンポーネントの prop インターフェースを定義し、そのアップグレード後に Tabs を Headless UI へ移行してください。追加の tabs 依存関係が不要になり、破壊的なインターフェース変更に対応できれば完了です。

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

説明

release: major status: blocked

Description

We are using @radix-ui/react-tabs as the base of the Tabs component:

https://github.com/freeCodeCamp/ui/blob/5b612c4b17e9d0aba5b8ddb611ad284ac67d53b5/src/tabs/tabs.tsx#L2

Since we build other components with Headless UI and this library also provides Tabs, I think we should update our Tabs to use Headless UI, too, to remove an extra dependency.

The Tabs component is using radix-ui/react-tabs props interface, so switching to Headless UI and use its props interface would be a breaking change. We might want to take this opportunity to define a prop interface for the component, so that the interface doesn't depend on the external library.

[!NOTE]
This change should be made after we have upgraded Headless UI to v2, which requires a React upgrade (#232).

主要言語
TypeScript
スター
75
フォーク
37
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

freeCodeCamp/ui のほかの issue

freeCodeCamp/ui の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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