Skip to content

[Onyx Audit] Remove allowDynamicKey from useOnyx #80096

@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 allowDynamicKey configuration controls whether the key can be changed dynamically during the component lifecycle. This prop is only neccessary for the Search snapshots in E/App's Onyx wrapper, so it's basically one product feature that is "leaking" into Onyx state management library.

We need to explore our Onyx wrapper to see if it’s possible to remove it (do we still need this?), or use an alternative approach.

Issue OwnerCurrent Issue Owner: @JKobrynski

Metadata

Metadata

Labels

Type

No type

Projects

Status

HIGH

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions