TanStack Offers A Fantastic Replacement For Create React App
Jack Herrington
@jherrAbout
Frontend videos from basic to very advanced; tutorials, technology deep dives. You'll love it!
Latest Posts
Video Description
Create React App is being sunset. Now there is `create-tsrouter-app` that gives you an almost identical starting point, but with Vite and TanStack underneath the hood. JS: pnpx create-tsrouter-app your-app TS: pnpx create-tsrouter-app your-app --template typescript File Router: pnpx create-tsrouter-app your-app --template file-router Blog Post: https://react.dev/blog/2025/02/14/sunsetting-create-react-app ๐ ProNextJS Course: https://pronextjs.dev ๐ Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ ๐ Discord server signup: https://discord.gg/ddMZFtTDa5 ๐ VS Code theme and font? Night Wolf [black] and BitstromWera Nerd Font Mono ๐ Terminal Theme and font? oh-my-posh with custom prompt and BitstromWera Nerd Font Mono 00:00 Introduction 00:30 Whatโs Wrong With CRA? 00:56 Using Create React App 01:24 Using Create TSRouter App 02:00 A Better Starting Point 02:24 Creating A Code Route 02:54 File Based Routing 03:46 Adding Routes With Files 04:06 Where Start Fits In 04:39 Vitest Built In 04:48 Easy Tailwind Install 04:57 Routing Docs 05:04 Data Fetching 05:34 React Query 05:40 TanStack Store 05:56 Outroduction
Upgrade Your iPhone Experience
AI-recommended products based on this video
![iPhone Charger Cord [MFi Certified] 3Pack 0.9M Lighting Cable Power Delivery Charging Cord Compatible with iPhone 14 13 13 Pro Max 12 12 Pro Max 11 XS XR X 8 iPad,White](https://m.media-amazon.com/images/I/61i3XjcGu1L._AC_SL1500_.jpg)
iPhone Charger Cord [MFi Certified] 3Pack 0.9M Lighting Cable Power Delivery Charging Cord Compatible with iPhone 14 13 13 Pro Max 12 12 Pro Max 11 XS XR X 8 iPad,White

Kaistyle for Magsafe Car Mountใ20 Strong Magnetsใ Magnetic Phone Holder for Car Phone Holder Mount Dash Cell Phone Holders for Your Car Accessories for Women Men for iPhone 17 Pro Max 16 15 14 13 12 ClimatePartner certified
![Car Phone Holder for Magsafe [78+LBS Strongest Suction & 2400gf Magnetic] 360ยฐ Adjustable Car Phone Mount, Phone Holders for Your Car for iPhone 17 Pro Max 16 15 14 13 12 Air Plus (Carbon Fiber) Global Recycled Standard](https://m.media-amazon.com/images/I/712lUnThXpL._AC_UL960_FMwebp_QL65_.jpg)
Car Phone Holder for Magsafe [78+LBS Strongest Suction & 2400gf Magnetic] 360ยฐ Adjustable Car Phone Mount, Phone Holders for Your Car for iPhone 17 Pro Max 16 15 14 13 12 Air Plus (Carbon Fiber) Global Recycled Standard

LISEN Retractable Car Charger, 69W USB C Car Accessories Adapter for iPhone 17 USB C Charger Fast Charging, Gifts for Women Men, Travel Essentials, for iPhone 17 Pro Max Air 16 15 14 13 12 Samsung S25

Apple AirPods Pro 2 Wireless Earbuds, Active Noise Cancellation, Hearing Aid Feature, Bluetooth Headphones, Transparency, Personalized Spatial Audio, High-Fidelity Sound, H2 Chip, USB-C Charging

Soundcore by Anker P20i True Wireless Earbuds, 10mm Drivers with Big Bass, Bluetooth 5.3, 30H Long Playtime, Water-Resistant, 2 Mics for AI Clear Calls, 22 Preset EQs, Customization (Blue)

Anker iPhone 16 Charger, 2-Pack 20W Fast USB C Charger Block, for iPhone 16/16 Pro Max/15 Series/iPad Pro and More (White, 2 Pack & 2 Cable)

Soundcore Liberty 4 Pro by Anker, Noise Cancelling Wireless Earbuds, 7-Sensor and Real-Time Adaptive Noise Cancelling, 2ร Faster Charging, Studio-Level Hi-Fi Music, Clear Calls with 6 Mics and AI

Soundcore by Anker Liberty 4 NC Wireless Earbuds, 98.5% Noise Reduction, Adaptive Noise Cancelling to Ears and Environment, Hi-Res Sound, 50H Battery, Wireless Charging, Bluetooth 5.3
![iPhone Charger Cord [MFi Certified] 3Pack 0.9M Lighting Cable Power Delivery Charging Cord Compatible with iPhone 14 13 13 Pro Max 12 12 Pro Max 11 XS XR X 8 iPad,White](https://m.media-amazon.com/images/I/61i3XjcGu1L._AC_SL1500_.jpg)
iPhone Charger Cord [MFi Certified] 3Pack 0.9M Lighting Cable Power Delivery Charging Cord Compatible with iPhone 14 13 13 Pro Max 12 12 Pro Max 11 XS XR X 8 iPad,White

Kaistyle for Magsafe Car Mountใ20 Strong Magnetsใ Magnetic Phone Holder for Car Phone Holder Mount Dash Cell Phone Holders for Your Car Accessories for Women Men for iPhone 17 Pro Max 16 15 14 13 12 ClimatePartner certified
![Car Phone Holder for Magsafe [78+LBS Strongest Suction & 2400gf Magnetic] 360ยฐ Adjustable Car Phone Mount, Phone Holders for Your Car for iPhone 17 Pro Max 16 15 14 13 12 Air Plus (Carbon Fiber) Global Recycled Standard](https://m.media-amazon.com/images/I/712lUnThXpL._AC_UL960_FMwebp_QL65_.jpg)
Car Phone Holder for Magsafe [78+LBS Strongest Suction & 2400gf Magnetic] 360ยฐ Adjustable Car Phone Mount, Phone Holders for Your Car for iPhone 17 Pro Max 16 15 14 13 12 Air Plus (Carbon Fiber) Global Recycled Standard

LISEN Retractable Car Charger, 69W USB C Car Accessories Adapter for iPhone 17 USB C Charger Fast Charging, Gifts for Women Men, Travel Essentials, for iPhone 17 Pro Max Air 16 15 14 13 12 Samsung S25

Apple AirTag 4 Pack. Keep Track of and find Your Keys, Wallet, Luggage, Backpack, and More. Simple one-tap Set up with iPhone or iPad

Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, Personalized Spatial Audio, Sweat and Water Resistant, USB-C Charging Case, H2 Chip, Up to 30 Hours of Battery Life, Effortless Setup for iPhone

Apple iPad 11-inch: A16 chip, 11-inch Model, Liquid Retina Display, 128GB, Wi-Fi 6, 12MP Front/12MP Back Camera, Touch ID, All-Day Battery Life โ Blue EPEAT

ANKER 737 Power Bank, 24,000mAh 3-Port Laptop Portable Charger with 140W Fast Charging, Smart Display, for Outdoor Work, Compatible with iPhone 16/15/14 Series, Vision Pro, Samsung, MacBook, and More

Anker iPhone 16 Charger, 2-Pack 20W Fast USB C Charger Block, for iPhone 16/16 Pro Max/15 Series/iPad Pro and More (White, 2 Pack & 2 Cable)

ESR for iPhone 17 Pro Max Case, Camera Control, Compatible with MagSafe, Shockproof Military-Grade Protection, Magnetic Phone Case for iPhone 17 Pro Max, Classic Hybrid Case, Clear Carbonfree Certified
![Ailun 3 Pack for iPhone 17 Pro Max Privacy Screen Protector [6.9 inch] with installation frame, Anti Spy Private Tempered Glass Anti-Scratch Case Friendly Global Recycled Standard](https://m.media-amazon.com/images/I/71R6PqYJJxL._AC_UY654_FMwebp_QL65_.jpg)
Ailun 3 Pack for iPhone 17 Pro Max Privacy Screen Protector [6.9 inch] with installation frame, Anti Spy Private Tempered Glass Anti-Scratch Case Friendly Global Recycled Standard
![Ailun 3 Pack Screen Protector for iPhone 17 Pro Max [6.9 inch] with Installation Frame, Tempered Glass, Sensor Protection, Dynamic Island Compatible, Case Friendly Global Recycled Standard](https://m.media-amazon.com/images/I/71XuFtl2aBL._AC_UY654_FMwebp_QL65_.jpg)
Ailun 3 Pack Screen Protector for iPhone 17 Pro Max [6.9 inch] with Installation Frame, Tempered Glass, Sensor Protection, Dynamic Island Compatible, Case Friendly Global Recycled Standard

ESR for iPhone 17 Pro Max Case, Camera Control, Compatible with MagSafe, Shockproof Military-Grade Protection, Magnetic Phone Case for iPhone 17 Pro Max, Classic Hybrid Case, Clear Carbonfree Certified
![Ailun 3 Pack for iPhone 17 Pro Max Privacy Screen Protector [6.9 inch] with installation frame, Anti Spy Private Tempered Glass Anti-Scratch Case Friendly Global Recycled Standard](https://m.media-amazon.com/images/I/71R6PqYJJxL._AC_UY654_FMwebp_QL65_.jpg)
Ailun 3 Pack for iPhone 17 Pro Max Privacy Screen Protector [6.9 inch] with installation frame, Anti Spy Private Tempered Glass Anti-Scratch Case Friendly Global Recycled Standard
![Ailun 3 Pack Screen Protector for iPhone 17 Pro Max [6.9 inch] with Installation Frame, Tempered Glass, Sensor Protection, Dynamic Island Compatible, Case Friendly Global Recycled Standard](https://m.media-amazon.com/images/I/71XuFtl2aBL._AC_UY654_FMwebp_QL65_.jpg)
Ailun 3 Pack Screen Protector for iPhone 17 Pro Max [6.9 inch] with Installation Frame, Tempered Glass, Sensor Protection, Dynamic Island Compatible, Case Friendly Global Recycled Standard
![iPhone Charger Cord [MFi Certified] 3Pack 0.9M Lighting Cable Power Delivery Charging Cord Compatible with iPhone 14 13 13 Pro Max 12 12 Pro Max 11 XS XR X 8 iPad,White](https://m.media-amazon.com/images/I/61i3XjcGu1L._AC_SL1500_.jpg)
iPhone Charger Cord [MFi Certified] 3Pack 0.9M Lighting Cable Power Delivery Charging Cord Compatible with iPhone 14 13 13 Pro Max 12 12 Pro Max 11 XS XR X 8 iPad,White

Kaistyle for Magsafe Car Mountใ20 Strong Magnetsใ Magnetic Phone Holder for Car Phone Holder Mount Dash Cell Phone Holders for Your Car Accessories for Women Men for iPhone 17 Pro Max 16 15 14 13 12 ClimatePartner certified
![Car Phone Holder for Magsafe [78+LBS Strongest Suction & 2400gf Magnetic] 360ยฐ Adjustable Car Phone Mount, Phone Holders for Your Car for iPhone 17 Pro Max 16 15 14 13 12 Air Plus (Carbon Fiber) Global Recycled Standard](https://m.media-amazon.com/images/I/712lUnThXpL._AC_UL960_FMwebp_QL65_.jpg)
Car Phone Holder for Magsafe [78+LBS Strongest Suction & 2400gf Magnetic] 360ยฐ Adjustable Car Phone Mount, Phone Holders for Your Car for iPhone 17 Pro Max 16 15 14 13 12 Air Plus (Carbon Fiber) Global Recycled Standard

LISEN Retractable Car Charger, 69W USB C Car Accessories Adapter for iPhone 17 USB C Charger Fast Charging, Gifts for Women Men, Travel Essentials, for iPhone 17 Pro Max Air 16 15 14 13 12 Samsung S25

ESR for iPhone 17 Pro Max Case, Camera Control, Compatible with MagSafe, Shockproof Military-Grade Protection, Magnetic Phone Case for iPhone 17 Pro Max, Classic Hybrid Case, Clear Carbonfree Certified
![Ailun 3 Pack for iPhone 17 Pro Max Privacy Screen Protector [6.9 inch] with installation frame, Anti Spy Private Tempered Glass Anti-Scratch Case Friendly Global Recycled Standard](https://m.media-amazon.com/images/I/71R6PqYJJxL._AC_UY654_FMwebp_QL65_.jpg)
Ailun 3 Pack for iPhone 17 Pro Max Privacy Screen Protector [6.9 inch] with installation frame, Anti Spy Private Tempered Glass Anti-Scratch Case Friendly Global Recycled Standard
![Ailun 3 Pack Screen Protector for iPhone 17 Pro Max [6.9 inch] with Installation Frame, Tempered Glass, Sensor Protection, Dynamic Island Compatible, Case Friendly Global Recycled Standard](https://m.media-amazon.com/images/I/71XuFtl2aBL._AC_UY654_FMwebp_QL65_.jpg)
















