Skip to content

[Due for payment 2026-03-04] [Onyx Audit] Remove canBeMissing from useOnyx #80095

@fabioh8010

Description

@fabioh8010

Coming from #71202.

In order to simplify useOnyx API (and consequently Onyx) let's work on proposing the removal of some configurations we think are anti-patterns / unnecessary at this point.

The canBeMissing configuration logs an alert (also Growl alert in dev) if Onyx returns undefined for that subscribed key. It is purely for identifying cases where useOnyx should be returning data but it isn’t. I don’t think we ever invested in actually track down these missing data logs that are sent to BE, and most of the time its purpose is being bypassed by contributors.

I assume that at this point it’s pretty useless and we could raise a discussion to propose removing it.

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionTaskWeeklyKSv2

Type

No type

Projects

Status

HIGH

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions