Skip to content

Svelte 5: Document $svelte.is(a,b) using Object.is(a,b). #12167

Closed
@willnationsdev

Description

@willnationsdev

Describe the problem

The current documentation for $state.is equates $state.is() to an === operator when the actual PR's underlying implementation uses Object.is(a, b).

Describe the proposed solution

This information should be surfaced to the documentation since it does not yield identical behavior to the === operator.

Importance

nice to have

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions