0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
Commit graph

6,533 commits

Author SHA1 Message Date
ihaback
8672ec7b04
chore(examples): match env.example with config for authenticated-routes-firebase (#4079) 2025-05-05 03:38:25 +12:00
allen
42156fb226
fix the uptdated link for file base routing (#4085)
self explanatory
2025-05-04 14:23:30 +02:00
Tanner Linsley
c1ad053069 release: v1.119.2 v1.119.2 2025-05-04 01:47:06 +00:00
Sean Cassiere
d2a1a04534
fix(directive-functions-plugin): do not exclude generator functions (#4080) 2025-05-04 13:45:39 +12:00
Chukwuka Morka
191a1c8a2b
docs(router): walkthrough on using the ignore prefix for component colocation in the routing-concepts guide (#4075)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-05-02 10:17:05 +12:00
Chukwuka Morka
5e08ac5d74
docs(router): add ignore prefix into the file naming conventions guide (#4074)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-05-02 10:16:52 +12:00
Max Zhang
eb649e79de
docs(start): fix typos in the hosting guide (#4073) 2025-05-01 14:26:59 +12:00
Tanner Linsley
d4aaf7eaa3 release: v1.119.1 v1.119.1 2025-04-30 13:12:53 +00:00
Gianmarco Rengucci
1cfb6e26c9
fix(react-router-devtools): remove useRouter warning for panel (#4070)
This PR removes the warning to align the two
devtools implementations.
2025-05-01 01:04:25 +12:00
Tanner Linsley
91ae17d7ea release: v1.119.0 v1.119.0 2025-04-30 09:45:19 +00:00
scarf
12eb1426fe
feat(router-devtools-core): add navigation link to route (#4048)
Add a button to navigate to a route from the `router-devtools`.

Paths with dynamic path parameters will reuse the path parameters
from the current route. Only paths, where the current path
parameters are viable for a successful navigation will have this button
appear.

---

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-30 21:20:39 +12:00
Ionut-Cristian Florescu
285cff7bbd
docs(start): fix key on changing the base path for API routes (#4062) 2025-04-30 18:35:26 +12:00
Tanner Linsley
5e1354cf72 release: v1.118.0 v1.118.0 2025-04-26 21:27:24 +00:00
Manuel Schiller
13f8559b8d
bump deps (#4057) 2025-04-26 23:26:09 +02:00
Leonardo Montini
413a56a347
docs: fix broken link (#4055) 2025-04-26 21:05:15 +02:00
Manuel Schiller
99b09779fd
Update pr.yml 2025-04-25 21:06:37 +02:00
Manuel Schiller
c23fe1d589
Update ci.yml 2025-04-25 21:05:17 +02:00
Michal Piechowiak
8edeeaa6a1
feat: allow use of nitro zero conf (#3993)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-25 20:35:32 +02:00
Sean Cassiere
cc0d468b44
chore(create-router,create-start): remove user app init packages (#4049) 2025-04-25 19:34:55 +12:00
SeanCassiere
7ab6f5694f
docs(router): update link to create-tsrouter-app options 2025-04-25 19:09:37 +12:00
Tanner Linsley
a3c8bfed69 release: v1.117.2 v1.117.2 2025-04-25 05:04:54 +00:00
Sean Cassiere
6fcf118785
fix(router-plugin): do not split the pendingComponent (#4047)
This change, makes it so that the `pendingComponent` is no longer
code-split by default when using the `automaticCodeSplitting` feature.

With this change, both the `loader` and `pendingComponent` will not be
code-split by _default_.
2025-04-25 17:00:34 +12:00
Tanner Linsley
5bf73eaa85 release: v1.117.1 v1.117.1 2025-04-24 21:11:24 +00:00
Manuel Schiller
afdafcf63a
fix: pending component handling for initial load (#4044) 2025-04-24 23:09:47 +02:00
Tanner Linsley
fff694147b
Update overview.md 2025-04-23 15:20:59 -06:00
Tanner Linsley
bbbcb9c6ff
Update overview.md 2025-04-23 13:12:44 -06:00
Tanner Linsley
3cbb3e8492 release: v1.117.0 v1.117.0 2025-04-23 01:48:48 +00:00
Burak Can
1f2642bf28
feat(router-core): allow dynamic ViewTransition types (#4031)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-23 13:41:23 +12:00
Mikaël Sévigny
431dec2c26
docs(start): remove trailing commas from "build-from-scratch" (#4029)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-23 13:22:58 +12:00
Tanner Linsley
82eb7b6919 release: v1.116.3 v1.116.3 2025-04-22 23:18:36 +00:00
Christopher Horobin
9cb671967f
fix(start-client-core): fix no implicit any in validators (#4032) 2025-04-23 01:17:13 +02:00
Sean Cassiere
fc1f362e92
test(router-core): cases for interpolatePath and matchPathname (#4024) 2025-04-21 19:54:57 +12:00
Tanner Linsley
231230e22e release: v1.116.2 v1.116.2 2025-04-19 22:34:14 +00:00
Diogo Carmo
2760a56b5d
fix(start-client-core): export OptionalFetcher type (#4001)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-20 10:27:01 +12:00
Matthew Pirocchi
d57f9f5cc6
docs(start): complete the server functions - mutation example (#3992)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-17 20:13:24 +12:00
M. Fahad Sohail
afbeb9ea16
docs(router): fix broken links on the file-naming-conventions guide (#3998)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-17 20:04:46 +12:00
FatahChan
8085969ae3
docs(router): list "parallel routes" in the comparison (#3995) 2025-04-16 09:31:52 +12:00
Eduardo Bouças
afe29b9ad8
examples: Replace redaxios with native fetch (#4000)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-15 18:32:35 +02:00
Fitim Bytyqi
9a4af7cf91
docs: improves react/solid quick-start docs (#3994)
addition fixes from #3961
2025-04-15 01:38:51 +02:00
Ezekiel Keator
3cba9989d2
docs: correct start server git link (#3991) 2025-04-14 19:55:22 +02:00
Tanner Linsley
6e183bae4f release: v1.116.1 v1.116.1 2025-04-13 21:20:12 +00:00
Valentin Kunz
4b7212c564
fix(router-plugin): avoid blocking rspack and webpack during build (#3980) 2025-04-14 09:12:45 +12:00
Seongbin Kim
112438412c
docs(router): broken link to "SSR" from "Deferred Data Loading" guide (#3984) 2025-04-14 09:11:21 +12:00
Yiwan
d4a4e96b62
docs(router): add comment for vite plugin order (#3986)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-14 09:10:42 +12:00
Tanner Linsley
d843f83057 release: v1.116.0 v1.116.0 2025-04-13 19:59:11 +00:00
Zac Rosenbauer
f0138f80b0
feat(react-router): Export ClientOnly (#3969)
Exposes the `ClientOnly` component for preventing rendering & hydration
errors.

## Background

When you attempt to prevent content from rendering using something like
`typeof document !== 'undefined'` as that type of conditional will cause
hydration errors.

## API

```tsx
import { ClientOnly, createRoute } from '@tanstack/react-router'
import { Charts, FallbackCharts } from './charts-that-break-server-side-rendering'

const Route = createRoute({
  // ... other route options
  path: '/dashboard',
  component: Dashboard,
})

function Dashboard() {
  return (
    <div>
      <p>Dashboard</p>
      <ClientOnly fallback={<FallbackCharts />}>
        <Charts />
      </ClientOnly>
    </div>
  )
}
```

> [!NOTE]
> This component as is (other than I removed the `children` as a
`function`) in production on [joggr.io](https://joggr.io)

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: Ahmed Abdelbaset <A7med3bdulBaset@gmail.com>
Co-authored-by: Birk Skyum <birk.skyum@pm.me>
2025-04-13 10:50:44 +02:00
Tanner Linsley
af455d812f release: v1.115.3 v1.115.3 2025-04-11 17:19:44 +00:00
Fred Brandt
e3404881ae
fix(router-core): accept AnyRouter in redirect (#3979)
The migration to `router-core` made the `redirect` function
more restrictive since it _only_ used the `RegisteredRouter`.

This change makes it so that it accepts `AnyRouter` with it
defaulting to the `RegisteredRouter`. Also, `TTo` also
needed to be changed, since the first generic became optional.
2025-04-11 21:30:40 +12:00
Sean Cassiere
b886a7d357
chore(examples): move the WorkOS content to src (#3972) 2025-04-10 21:14:55 +12:00
Nick Nisi
f9c343e0b5
chore(examples): add TanStack Start WorkOS example (#3966)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-10 20:41:57 +12:00