Skip to content

Doesn't work well in testing environments #5

@nwalters512

Description

@nwalters512

Since any meaningful behavior hinges on the availability of the window object, this hook doesn't work well in testing environments. We should be able to gracefully degrade to work exactly like setState if window or the localStorage API isn't available.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions