This website requires JavaScript.
About
Status
₊˚⊹Discord
Explore
Register
Sign in
Reference in a new issue
Blame
Copy permalink
Reference in a new issue
Copy permalink
TanStack
/
router
Star
0
Fork
You've already forked router
0
mirror of
https://github.com/TanStack/router.git
synced
2026-11-16 19:38:07 +00:00
Code
Issues
Releases
Packages
Activity
createTransitionAwareResource
router
/
docs
/
start
/
framework
/
react
/
tutorial
/
reading-writing-file.md
583 lines
19 KiB
Raw
Permalink
Normal View
History
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 07:23:49 -07:00
docs: Moving images inline and changing urls to relative (#5072) Incorporating feedback from PR - https://github.com/TanStack/router/pull/4089. Changes made - 1. Moved images to `assets` folder on suggestion 2. Changed URLs from absolute to relative. 3. Adding an in-line sequence diagram <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Newly added jokes now receive unique identifiers, improving reliability when creating new entries. * **Documentation** * Updated links to internal paths for SSR, router concepts, and React Query sections. * Switched images to repository-hosted assets for consistency and availability. * Replaced the data flow image with an inline Mermaid sequence diagram covering home-page loading and add-joke flows, including data refresh behavior. * Minor formatting cleanup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 19:29:49 -07:00
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 07:23:49 -07:00
update solid start docs (#5347) * update solid start docs * rename app.config.ts
2025-10-04 12:14:13 -05:00
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 07:23:49 -07:00
docs: Moving images inline and changing urls to relative (#5072) Incorporating feedback from PR - https://github.com/TanStack/router/pull/4089. Changes made - 1. Moved images to `assets` folder on suggestion 2. Changed URLs from absolute to relative. 3. Adding an in-line sequence diagram <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Newly added jokes now receive unique identifiers, improving reliability when creating new entries. * **Documentation** * Updated links to internal paths for SSR, router concepts, and React Query sections. * Switched images to repository-hosted assets for consistency and availability. * Replaced the data flow image with an inline Mermaid sequence diagram covering home-page loading and add-joke flows, including data refresh behavior. * Minor formatting cleanup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 19:29:49 -07:00
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 07:23:49 -07:00
docs: Moving images inline and changing urls to relative (#5072) Incorporating feedback from PR - https://github.com/TanStack/router/pull/4089. Changes made - 1. Moved images to `assets` folder on suggestion 2. Changed URLs from absolute to relative. 3. Adding an in-line sequence diagram <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Newly added jokes now receive unique identifiers, improving reliability when creating new entries. * **Documentation** * Updated links to internal paths for SSR, router concepts, and React Query sections. * Switched images to repository-hosted assets for consistency and availability. * Replaced the data flow image with an inline Mermaid sequence diagram covering home-page loading and add-joke flows, including data refresh behavior. * Minor formatting cleanup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 19:29:49 -07:00
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 07:23:49 -07:00
feat: Start RC (#5189) Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com> Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com> Co-authored-by: chorobin <chrishorobin@hotmail.com> Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: hokkyss <hokkyss2@gmail.com> Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com> Co-authored-by: Jack Herrington <jherr@pobox.com> Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2025-09-23 19:34:54 +02:00
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 07:23:49 -07:00
feat: Start RC (#5189) Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com> Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com> Co-authored-by: chorobin <chrishorobin@hotmail.com> Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: hokkyss <hokkyss2@gmail.com> Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com> Co-authored-by: Jack Herrington <jherr@pobox.com> Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2025-09-23 19:34:54 +02:00
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 07:23:49 -07:00
docs: Moving images inline and changing urls to relative (#5072) Incorporating feedback from PR - https://github.com/TanStack/router/pull/4089. Changes made - 1. Moved images to `assets` folder on suggestion 2. Changed URLs from absolute to relative. 3. Adding an in-line sequence diagram <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Newly added jokes now receive unique identifiers, improving reliability when creating new entries. * **Documentation** * Updated links to internal paths for SSR, router concepts, and React Query sections. * Switched images to repository-hosted assets for consistency and availability. * Replaced the data flow image with an inline Mermaid sequence diagram covering home-page loading and add-joke flows, including data refresh behavior. * Minor formatting cleanup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 19:29:49 -07:00
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 07:23:49 -07:00
docs: Moving images inline and changing urls to relative (#5072) Incorporating feedback from PR - https://github.com/TanStack/router/pull/4089. Changes made - 1. Moved images to `assets` folder on suggestion 2. Changed URLs from absolute to relative. 3. Adding an in-line sequence diagram <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Newly added jokes now receive unique identifiers, improving reliability when creating new entries. * **Documentation** * Updated links to internal paths for SSR, router concepts, and React Query sections. * Switched images to repository-hosted assets for consistency and availability. * Replaced the data flow image with an inline Mermaid sequence diagram covering home-page loading and add-joke flows, including data refresh behavior. * Minor formatting cleanup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 19:29:49 -07:00
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 07:23:49 -07:00