0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

63 commits

Author SHA1 Message Date
SeanCassiere
17a3b42411
docs(start): remove example of Server Routes client callers
fixes #4275
2025-06-02 11:36:02 +12:00
Manuel Schiller
6a9738618a
chore: merge main (#4283) 2025-05-30 23:48:25 +02:00
Manuel Schiller
35d9c60b55
merge main into alpha (#4251)
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Luis Merino <mail@luismerino.name>
Co-authored-by: ThaumRystra <9525416+ThaumRystra@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Adam Hunter <arhunter@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.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: Christopher Horobin <chrishorobin@hotmail.com>
Co-authored-by: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
2025-05-24 20:11:43 +02:00
Tanner Linsley
aea93b4210 Squashed commit of the following:
commit 086f8e500d39c874cb1dc6af159d2e66ae6fca08
Author: Tanner Linsley <tannerlinsley@gmail.com>
Date:   Fri May 23 23:37:40 2025 -0600

    docs: fix documentation links
2025-05-24 00:44:38 -06:00
Manuel Schiller
f2d1d54541
merge main (#4191)
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Luis Merino <mail@luismerino.name>
Co-authored-by: ThaumRystra <9525416+ThaumRystra@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
2025-05-16 23:19:49 +02:00
Manuel Schiller
15b8ed6af3
chore: various fixes (#4187)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-16 19:51:24 +02:00
Tanner Linsley
b9017930f7
fix: spa-mode (#4177) 2025-05-15 14:30:34 -06:00
autofix-ci[bot]
5f8506bb3f
ci: apply automated fixes 2025-05-15 14:02:21 +00:00
Birk Skyum
f940f850d5 docs(server.ts/ssr.ts): cleanup redundant files and update docs 2025-05-15 16:01:17 +02:00
Tanner Linsley
273c4c1ecd feat: shell mode 2025-05-13 11:25:31 -06:00
Birk Skyum
a153fdad4c docs(start): update src path for images 2025-05-13 16:14:15 +02:00
Ryan Gillie
4e0638bd65
feat(react-start): Wrap default client entry with <StrictMode> (#4159)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-13 01:31:31 +02:00
Jaga Santagostino
c81090d02e
docs(start): document that serverFn can be used in server routes (#4152)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-05-13 00:29:38 +02:00
Manuel Schiller
418fac9f24 docs: update build from scratch 2025-05-12 21:55:21 +02:00
Manuel Schiller
e6fab6a445
docs(start): server-routes (#4155) 2025-05-12 19:59:22 +02:00
Ryan Gillie
6bde41fdf5
docs(start): Server Functions can be called from Server Routes (#4154) 2025-05-12 19:25:14 +02:00
Saša Šijak
62a044eff2
docs(start): remove validators from "server routes" guide (#4148) 2025-05-12 09:42:38 +12:00
Iha Shin (신의하)
82d14bda95
docs(start): Fix contents outdated by Devinxi (#4125) 2025-05-10 19:32:09 +02:00
Tanner Linsley
855b03f990
Devinxi (#4111) 2025-05-10 14:54:51 +02: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
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
Leonardo Montini
413a56a347
docs: fix broken link (#4055) 2025-04-26 21:05:15 +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
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
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
Ezekiel Keator
3cba9989d2
docs: correct start server git link (#3991) 2025-04-14 19:55:22 +02: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
Tanner Linsley
359d19a115 Update partners 2025-04-04 13:29:24 -06:00
Adam
1f2e243530
docs(start): add note on needing variable export named as APIRoute (#3892)
Just a quick note to prevent hitting 404s where the export needs to be named `APIRoute`.

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-03-31 21:23:31 +13:00
SeanCassiere
ab0173dddb
docs(start): update the list to the router examples 2025-03-30 00:29:39 +13:00
Neeraj Dalal
3652b3529d
docs(start): switch from degit to gitpick (#3863)
Degit is both slower and has some odd caching behaviour on the user's machine.
Gitpick is faster and conforms to more native github URLs.
2025-03-28 05:09:44 +13:00
Birk Skyum
739362f1f9
release experimental @tanstack/solid-start package (#3864)
Mentions of this being experimental in
- overview page (first in the docs)
- readme of solid-start package

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-27 01:19:57 +01:00
Agus Setya R
6b1f3c163e
fix(docs): Update link for the The Router Configuration: Preloading & Caching (#3833)
There are broken links in the Tanstack Start "Build from Scratch: The
Router Configuration" section.
I believe this should goes into Tanstack Router documentation.
2025-03-26 17:13:53 +01:00
Sean Cassiere
906525964d
docs(start): move router configuration note to the top (#3819) 2025-03-21 11:38:26 +13:00
Daniel
3a0c6dd019
docs(start): fix broken url to the start-counter example (#3795)
Fix wrong url for start-counter example

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-03-18 05:16:08 +13:00
autofix-ci[bot]
a73dcdcec3
ci: apply automated fixes 2025-03-12 15:50:19 +00:00
Aleksander
5975a398af
docs: Add "response" option details to server-functions.md (#3753)
Added information about "response" option and returning non-standard
return types
2025-03-12 16:49:04 +01:00
Birk Skyum
1bf017aedf
fix(docs): update path-alias example from app to src (#3733) 2025-03-10 20:00:21 +01:00
Kilian Finger
cd7a43c9e2
chore(examples): add Material UI example (#3677)
Fixes #2867 

As previously discussed @schiller-manuel.
2025-03-07 13:34:19 +01:00
Ryan Callahan
7b47db77f7
docs(start): Add note for verbatimModuleSyntax setting in tsconfig docs (#3670)
verbatimModuleSyntax can cause server bundles to quietly leak into
client bundles via exported types. It is an easy mistake to make that
can be _very_ difficult to debug.

Inspired by #3401

Co-authored-by: ryan-callahan-edo <ryan.callahan@edoinc.com>
2025-03-05 22:11:05 +01:00
Julian Klumpers
5e6a774275
docs: Update server-functions.md docs (#3628)
Added clear description add the top that server functions cannot be
called from API Routes.
2025-03-02 19:39:04 +01:00
Raymond Kneipp
d8878af647
docs(start): fix installation script in "build-from-scratch" guide (#3623) 2025-03-02 17:10:34 +13:00
Sean Cassiere
5b6fd04ec4
docs: differentiate between "layout" and "pathless layout" routes (#3599) 2025-02-28 11:43:21 +13:00
omar
e2baa29fcc
docs(start): missing syntax snippet from static-prerendering guide (#3581)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-27 09:55:39 +13:00
Sean Cassiere
74a3a06267
refactor: move routing documentation into its own section (#3567) 2025-02-26 12:33:22 +13:00
Manuel Schiller
0c0af97063 docs: rename to @tanstack/react-start 2025-02-25 22:17:33 +01:00
Jaga Santagostino
bd73081462
docs(start): fix broken link to router docs (#3539) 2025-02-24 10:09:14 +13:00