Skip to content

feat(history): expose length in RouterHistory#2440

Merged
SeanCassiere merged 3 commits intoTanStack:mainfrom
matthiasschwarz:router-history-length
Oct 4, 2024
Merged

feat(history): expose length in RouterHistory#2440
SeanCassiere merged 3 commits intoTanStack:mainfrom
matthiasschwarz:router-history-length

Conversation

@matthiasschwarz
Copy link
Copy Markdown
Contributor

Exposing the length of the RouterHistory is especially helpful when using the MemoryHistory.
Also added a length test for the createMemoryHistory.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud bot commented Sep 29, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit b6c21dd. 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.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Sep 29, 2024

Open in Stackblitz

More templates

@tanstack/create-router

pnpm add https://pkg.pr.new/@tanstack/create-router@2440

@tanstack/eslint-plugin-router

pnpm add https://pkg.pr.new/@tanstack/eslint-plugin-router@2440

@tanstack/history

pnpm add https://pkg.pr.new/@tanstack/history@2440

@tanstack/react-cross-context

pnpm add https://pkg.pr.new/@tanstack/react-cross-context@2440

@tanstack/react-router

pnpm add https://pkg.pr.new/@tanstack/react-router@2440

@tanstack/react-router-with-query

pnpm add https://pkg.pr.new/@tanstack/react-router-with-query@2440

@tanstack/router-arktype-adapter

pnpm add https://pkg.pr.new/@tanstack/router-arktype-adapter@2440

@tanstack/router-cli

pnpm add https://pkg.pr.new/@tanstack/router-cli@2440

@tanstack/router-devtools

pnpm add https://pkg.pr.new/@tanstack/router-devtools@2440

@tanstack/router-plugin

pnpm add https://pkg.pr.new/@tanstack/router-plugin@2440

@tanstack/router-generator

pnpm add https://pkg.pr.new/@tanstack/router-generator@2440

@tanstack/router-valibot-adapter

pnpm add https://pkg.pr.new/@tanstack/router-valibot-adapter@2440

@tanstack/router-vite-plugin

pnpm add https://pkg.pr.new/@tanstack/router-vite-plugin@2440

@tanstack/router-zod-adapter

pnpm add https://pkg.pr.new/@tanstack/router-zod-adapter@2440

@tanstack/start

pnpm add https://pkg.pr.new/@tanstack/start@2440

@tanstack/start-vite-plugin

pnpm add https://pkg.pr.new/@tanstack/start-vite-plugin@2440

@tanstack/virtual-file-routes

pnpm add https://pkg.pr.new/@tanstack/virtual-file-routes@2440

commit: b6c21dd

@SeanCassiere SeanCassiere merged commit 9b2400b into TanStack:main Oct 4, 2024
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.

2 participants