[Content]: v2 Store documentation is unclear on class instances

Offen
#1,687 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@LadyBluenotes arbeitet bereits daran.

Seit 05.11.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

pending review
📚 Subject area/topic

v2 Stores

📋 Page(s) affected (or suggested, for new content)

https://v2.solidjs.com/concepts/stores/#a-map-date-or-class-instance-inside-the-store-does-not-track

📋 Description of content that is out-of-date or incorrect

A Map, Date, or class instance inside the store does not track

Plain objects, arrays, and class instances are wrapped in proxies; platform objects such as Map, Set, and Date are stored as they are. Reassign the property to a new instance through the setter to notify readers, or keep the data in plain objects and arrays.

It's not clear if class instances are not tracked or wrapped in proxies and tracked. I would submit an edit proposal to clarify the wording, but I think there's some nuance here on which class instances are tracked and not tracked.

Ref: #1650

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

Vorherrschende Sprache
MDX
Sterne
291
Forks
369
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
39

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus solidjs/solid-docs

Alle Issues in solidjs/solid-docs

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.