Skip to content

Conversation

yashjawale
Copy link
Contributor

@yashjawale yashjawale commented Jul 23, 2025

What?

This PR adds a private core/router/private store for storing internal properties of core router

Closes #70879

Why?

The Interactivity Router store contains details that are internal and are not part of the public API

These need to be moved to a private store so these are not used as public API

How?

This PR adds a new core/router/private store and moves navigation properties there.
Namely, hasStarted & hasFinished properties
They are still accessible from core/router store but it throws a console warning stating deprecation.

@yashjawale yashjawale marked this pull request as ready for review August 1, 2025 14:13
Copy link

github-actions bot commented Aug 1, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: yashjawale <yashjawale@git.wordpress.org>
Co-authored-by: luisherranz <luisherranz@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@im3dabasia im3dabasia added [Type] Enhancement A suggestion for improvement. [Package] Interactivity Router /packages/interactivity-router labels Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Interactivity Router /packages/interactivity-router [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iAPI router: Move internal properties to a private store
2 participants