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

Allow pinning react version (npm:styled-components uses a different version of npm:react)

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript

調査の方向性

Start by tracing the build process that resolves the jsx configuration and npm:styled-components dependencies. Check how jsdelivr selects React versions and determine where a package-version override could be configured. Done means the build can request a specified React version without breaking existing dependency resolution, with coverage for the reported version mismatch.

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

説明

bug

I'm seeing an issue where npm:styled-components suddenly started using [email protected], which obviously doesn't work when observable is pulling in the latest version of React (19.1.1 at the moment). I think this might be a problem with jsdelivr.

In order to address problems like this (by including a static version of styled-components, for example), it would be really helpful to be able to specify which React package we want observable to use during the build process. A config option to override the default behavior, something like

{
 ...
  jsx: "[email protected]"
 ...
}
主要言語
TypeScript
スター
3.7k
フォーク
209
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

observablehq/framework のほかの issue

observablehq/framework の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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