Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#2,015 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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]"
 ...
}
Lingua principale
TypeScript
Stelle
3.7k
Fork
209
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di observablehq/framework

Tutte le issue di observablehq/framework

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.