Skip to content

Standardize unique key generation using nanoid #310

@Starefossen

Description

@Starefossen

We should standardize on using nanoid for all client-side generated unique keys (like _key in Sanity arrays) instead of Date.now() or other non-robust methods. This prevents potential key collisions during rapid operations and environment-specific issues.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions