Skip to content

Conversation

@SeanCassiere
Copy link
Member

@SeanCassiere SeanCassiere commented Apr 19, 2024

closes #1410

Fixes a bug where the state.key in the memory history wasn't being updated when a navigation call was made using one of these methods:

  1. back()
  2. forward()
  3. go()

This change is not required for the .pushState() and .replaceState() methods on the createMemoryHistory factory, since they have their state.key values seeded by the .push() and .replace() methods from the base createHistory() factory anyways.

…igation change via `.back(), .forward(), and .go()`
@SeanCassiere SeanCassiere changed the title update the state.key when using memory history on navigation change via .back(), .forward(), and .go() fix(history): update the state.key when using memory history on navigation change via .back(), .forward(), and .go() Apr 19, 2024
@nx-cloud
Copy link

nx-cloud bot commented Apr 19, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 007a2e4. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@SeanCassiere SeanCassiere marked this pull request as ready for review April 19, 2024 09:01
@SeanCassiere SeanCassiere merged commit 6a49448 into main Apr 19, 2024
@SeanCassiere SeanCassiere deleted the issue-1410 branch April 19, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In Memory routers useMatchRoute does not behave as expected

2 participants