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

923 commits

Author SHA1 Message Date
kusiewicz
f80a52fbd4
docs(start): typo in hosting guide (#4512) 2025-06-25 15:04:26 +12:00
kusiewicz
3a564098a9
docs(router): typo in file-based routing guide (#4511) 2025-06-25 15:04:04 +12:00
bloodnighttw
e605592e16
docs(start): remove SSR page link (#4505) 2025-06-24 15:11:47 +12:00
Naoya Shimizu(Shimmy)
980159ae10
refactor(history): use TSR_key namespace in state for hash (#4356)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-06-23 14:48:54 +12:00
Dovakeidy
84f8f96b0f
docs(router): update component structure in routing guide (#4355)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-06-23 14:34:10 +12:00
Ahmed Abdelbaset
a211a4dc25
docs: fix typos and wrong paths in server-routes.md (#4461) 2025-06-22 09:03:48 +02:00
Usman S. (Max Programming)
c48b5ba457
docs: Added missing triple-slash directive for css imports (#4498) 2025-06-21 20:26:32 +02:00
Manuel Schiller
6248b69e5e
docs: remove alpha notice from nextjs migration guid 2025-06-21 11:29:44 +02:00
Richard Honor
f42b8a066b
docs: use correct syntax for createFileRoute (#4470)
Some of the documentation was missing the path parameter for
`createFileRoute`, which is required by default.

This PR adds those paths back, and tries to make it as relevant to the
surrounding context as possible.

Fixes #4372
2025-06-20 04:50:47 +02:00
Oroneki
4230b507b3
docs: Update server-routes.md (#4477)
Updating server route docs example with correct endpoint in code
example. Excluding the `"/api"` prefix.
2025-06-20 04:48:48 +02:00
Eason Wong
bc13ecb9ff
docs(examples and guide): improve and fix some bugs (#4449) 2025-06-18 22:08:12 +02:00
Rhuan Barreto
6f15922864
docs: Update head management instructions for SPA's (#4457) 2025-06-18 19:28:34 +02:00
Davide Lombardi
c941860cf7
docs: added missing middleware method chaining in context example (#4447)
Co-authored-by: Davide Lombardi <berz@Davides-MacBook-Pro-2.local>
2025-06-17 20:11:12 +02:00
Manuel Schiller
ce8573067b docs: use createFileRoute 2025-06-13 22:02:17 +02:00
Manuel Schiller
1c8a9352fe
docs: remove experimental verboseFileRoutes from docs (#4422) 2025-06-13 21:48:19 +02:00
Himanshu Kumar Dutt
ee647d8f99
fix broken link in migrate-from-next-js.md (#4415) 2025-06-13 19:46:54 +02:00
Felix
68be739580
docs(start): use correct import source for createFileRoute in build-from-scratch guide (#4399)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-06-13 08:31:15 +12:00
Himanshu Kumar Dutt
de22e58a87
docs(start): include /api as a Server Routes example (#4375) 2025-06-12 10:38:26 +12:00
Neco
f4e86649c2
docs(start): spa-mode guide to use correct export (#4374) 2025-06-12 10:37:56 +12:00
autofix-ci[bot]
5893f41aef
ci: apply automated fixes 2025-06-11 17:42:16 +00:00
Harsh Pareek
714c8cf008
docs: Correct createFileRoute import and invocation in Build a Project from Scratch (#4385) 2025-06-11 19:41:11 +02:00
Manuel Schiller
8b5accb27c
feat: Merge alpha to main (#4365)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Iha Shin (신의하) <me@xiniha.dev>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: MoeedDar <moeed.dar@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Saša Šijak <me@ssijak.com>
Co-authored-by: Christopher Horobin <chrishorobin@hotmail.com>
Co-authored-by: Ryan Gillie <gillie.ryan@hotmail.com>
Co-authored-by: Jaga Santagostino <jagasantagostino@gmail.com>
Co-authored-by: Birk Skyum <birk.skyum@pm.me>
Co-authored-by: Yeoh Joer <yeoh.joer@outlook.com>
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Co-authored-by: Luis Merino <mail@luismerino.name>
Co-authored-by: ThaumRystra <9525416+ThaumRystra@users.noreply.github.com>
Co-authored-by: Adam Hunter <arhunter@gmail.com>
Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: Joel Tannas <jtannas@gmail.com>
Co-authored-by: scarf <greenscarf005@gmail.com>
Co-authored-by: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
Co-authored-by: Iñaki Larramendi <30437204+ilarramendi@users.noreply.github.com>
Co-authored-by: Hiển Đào Vinh <neo.go.vn@gmail.com>
Co-authored-by: Lleyton W Morris <42259073+ViewableGravy@users.noreply.github.com>
Co-authored-by: Lleyton Morris <lmorris@nexigen.digital>
Co-authored-by: Matthew Struble <matt@vevox.io>
Co-authored-by: Matt Anderson <matt@mattdev.ca>
Co-authored-by: Chung <chungwong@users.noreply.github.com>
Co-authored-by: Maxx Coffee <josh@joshcoffee.dev>
Co-authored-by: Joshua Coffee <joshcoffee@gannett.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Neeraj Dalal <admin@nrjdalal.com>
Co-authored-by: Thomas Marnet <thomas.marnet@gmail.com>
Co-authored-by: Vianney Carel <vcarel@users.noreply.github.com>
Co-authored-by: Vianney Carel <vianney.carel@logfuse.fr>
Co-authored-by: Diego Rincón <97266392+diegoarff@users.noreply.github.com>
Co-authored-by: Erfan Hosseini <43422324+Erfanhosseini98@users.noreply.github.com>
Co-authored-by: IderAghbal <3328396+IderAghbal@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrew Jefferson <8148776+eastlondoner@users.noreply.github.com>
2025-06-10 23:19:32 +02:00
Erfan Hosseini
d1ed4e1c70
docs: Update preloading.md (#4310) 2025-06-03 21:09:06 +02:00
Diego Rincón
9db424fb5b
docs(router): fix path param name in "data mutation" guide (#4302) 2025-06-03 15:08:01 +12:00
Thomas Marnet
3f858cb268
fix: scroll to top selectors function (#4281) 2025-05-30 16:49:42 +02:00
Neeraj Dalal
18e24a74a5
docs(start): add project structure to next.js migration guide (#4280) 2025-05-30 23:00:45 +12:00
Neeraj Dalal
dc1d7b9137
docs(start): fix typos in next migration guide (#4276) 2025-05-30 16:12:21 +12:00
Neeraj Dalal
a5208e48b6
docs(start): add migration guide from Next.js (#4260)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-05-30 13:20:46 +12:00
Jack Herrington
000b4f385a
chore: support vibe-rules in react-router (#4263)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-29 21:25:27 +02:00
Chung
1f34687713
docs: Update code-splitting.md (#4267)
Fix code-based splitting example.
Change file name from `// src/posts.tsx` to `// src/posts.lazy.tsx`
2025-05-29 08:20:59 +02:00
Matt Anderson
64eb2c1425
docs: Update RouteOptionsType doc to reflect correct Loader opts (#4265) 2025-05-28 22:35:40 +02:00
Lleyton W Morris
bdea54ddf3
docs(router): add route.tsx in directory vs flat routing guide (#4257)
Co-authored-by: Lleyton Morris <lmorris@nexigen.digital>
2025-05-27 00:03:48 +12:00
Tanner Linsley
63c623b169 docs: fix links 2025-05-24 01:37:04 -06:00
scarf
0d71e044d8
docs(react-router): document migration path for parseParams and stringifyParams (#4216) 2025-05-22 20:08:04 +02:00
autofix-ci[bot]
385c47be5f
ci: apply automated fixes 2025-05-22 18:07:48 +00:00
Joel Tannas
d4321feac1
docs: Fix syntax error in search middleware example (#4223) 2025-05-22 20:06:50 +02:00
Leonardo Montini
72ffeb4d4a
docs: fix neon bullet points and url (#4214)
The markdown list wasn't shown properly and I noticed the signup link
was broken

Before

![image](https://github.com/user-attachments/assets/9efd3f90-3ed1-42af-823a-edb4fdd39770)


After

![image](https://github.com/user-attachments/assets/bc43b4ee-30b4-4eb8-ace2-6cd9ca77c2d9)
2025-05-20 20:44:56 +02:00
ThaumRystra
fa871a0e8b
docs(router): fix scrollRestorationBehavior option in "scroll-restoration" guide (#4169) 2025-05-16 12:20:48 +12:00
Luis Merino
5d940e2d8b
docs: specify that not found errors are handled by the nearest parent when called within loader (#4164) 2025-05-14 00:26:04 +02:00
Tanner Linsley
38142f4c68 docs: update comparison 2025-05-13 11:53:36 -06:00
Birk Skyum
9f93ce0df0
fix(docs): update src to images on tanstack.com (#4165)
tanstack.com has been updated to use /src instead of /app, which means
these broken asset links has to be updated too
2025-05-13 16:11:53 +02:00
Dane Grant
673a04398b
docs(start): Remove unplanned feature from docs (#4150) 2025-05-12 00:37:47 +02:00
Andy Kiesler
144a33c48e
docs(router): normalize heading level for "Effect" in search guide (#4100) 2025-05-07 10:56:27 +12:00
Miro Rauhala
f0dbf0a124
docs(router): update working in the "route-trees" guide (#4091) 2025-05-06 10:38:59 +12:00
Ilya Komichev
409252e947
docs(start): fix typos in logos (#4090) 2025-05-06 10:15:09 +12:00
Shruti Kapoor
ba8a1c836d
Adding Tutorial for Reading and Writing a File (#4089)
# Add DevJokes Tutorial: Reading and Writing Files
<img width="1318" alt="image"
src="https://github.com/user-attachments/assets/e6284dea-9596-42e5-b37a-c29ed56fa934"
/>

## Description
Adds a tutorial showing how to build a full-stack DevJokes app with
TanStack Start. Users learn to create server functions for reading and
writing to files, build React components, and implement data fetching
with TanStack Router.

## Key Features
- Server functions with `createServerFn`
- File-based data storage with Node.js `fs`
- Form handling and data validation
- Data refreshing with `router.invalidate()`
- Complete UI with Tailwind CSS

## Demo
https://youtu.be/zd0rtKbtlgU

## Reference
Complete code available at: https://github.com/shrutikapoor08/devjokes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-05 08:23:49 -06: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
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