Skip to content

iAPI router: Move internal properties to a private store #70879

@luisherranz

Description

@luisherranz

What problem does this address?

The Interactivity Router store contains details that are internal and are not part of the public API, like for example:

navigation: {
hasStarted: boolean;
hasFinished: boolean;
};

What is your proposed solution?

Those internal properties should be taken out of the public store and moved to a private store instead, so they are not used as public APIs. We can keep them with some deprecation warnings during one or two major versions of WordPress, though.

The namespace of this store could be core/router/private and it should be a locked store.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions