Skip to content

Refactor codebase to use the useUIValue hook. #13129

Description

@ankitrox

Feature Description

In #12711, we have added useUIValue hook. Throughout the codebase, we can replace:

select( CORE_UI ).getValue() with useUIValue and
dispatch( CORE_UI ).setValue() with setValue returned by hook.

As per the AC for #12711, we should address this refactor in multiple sub-issues so we don't end up with a single, massive PR.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry

Metadata

Metadata

Assignees

Labels

P2Low priorityType: EnhancementImprovement of an existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions