Premium Only Content
Mastering React Router v7 Framework Mode: Ultimate SSR Tutorial
Complete React Router version Framework Mode server side rendering tutorial, with deployments to Cloudflare and Vercel. This is the easiest way to create a server side rendering React application, with dynamic SEO optimization.
YouTube demonetized all of my long form videos, anything helps, thanks.
Patreon: https://www.patreon.com/ComputerScienceForEveryoneUSA
PayPal One-time Donation: https://www.paypal.com/ncp/payment/QNMSG376NK5L8
If you would like to convert the programmatic routing to file based routing, here's my tutorial for that: https://youtu.be/Nigg6w8pRow
GitHub Repos:
For Cloudlare deployment: https://github.com/hoosierhuy/react-router-v7-framework-mode-ssr
For Vercel deployment: https://github.com/hoosierhuy/react-router-framework-mode-ssr-vercel
Chapters
00:00 - Introduction to Vite + React server side rendering
00:37 - History of server side rendering in React
01:33 - History of React Router
02:00 - React Router and Remix have merged and is owned by Shopify
02:59 - Options for React Router v7
03:39 - What is React Router Framework mode?
04:08 - Introduction to tutorial project
05:55 - How to determine if a web page is completely server side rendered
07:27 - What are the benefits of a server side rendering application?
08:58 - Vike versus React Router v7 Framework mode
09:35 - Multiple ways to create a React Router application using the command line tool
11:45 - Tutorial project GitHub repos
12:34 - How to create React Router applications using the provided command lines for various cloud platforms, like Cloudflare and Vercel
13:28 - Terminal command to create our tutorial project for Cloudflare deployment
14:02 - Examining tutorial project package.json file
14:38 - Introduction to Cloudflare Wrangler command line interface
17:38 - How to deploy a React Router server side rendering application to Cloudflare from the command line using Wrangler CLI tool
21:09 - Introduction to the code files scaffolded by the React Router generated template
22:27 - Examining what's inside the "app" directory
26:43 - Discussion on the "isBot" package, and security concerns for all bots in general
28:58 - Starting setup for our tutorial application
29:58 - Application folders and files structure diagram
32:28 - Build Navbar
34:41 - Build index route
35:20 - React Router's loader function
38:45 - React Router's meta function for dynamic meta data
41:54 - Fetching products using React Router's loader function
42:15 - How to use the useLoaderData hook in React Router SSR app
53:29 - Server side navigation versus client side navigation
55:32 - Customize meta function for dynamic meta data based on individual product information
57:35 - How does the meta function gain access to data from the loader function?
59:49 - Configuring our routes
1:02:15 - Build individual product component, dynamic route parameter syntax, dynamic route segment
1:10:06 - Build POST product component, completely server side rendered
1:11:58 - React Router Server Action function
1:14:21 - How the action and loader function gets invoked in a React Router application
1:19:15 - Create a catch all route to handle errors
1:19:49 - Catch all route versus React Router's default ErrorBoundary error handling
1:21:38 - Project challenge
1:21:58 - Setting up deployment to Vercel
1:25:52 - "No routes matched location /.well-known/appspecific/com.chrome/devtools.json" error in Chrome
1:27:37 - Closing statements
Documentations:
https://reactrouter.com/start/framework/installation
https://developers.cloudflare.com/workers/wrangler/install-and-update/
https://vercel.com/docs/cli
How to safely fetch data in React server side rendering applications.
Easily create a React server side rendering application.
-
13:12
The Pascal Show
16 hours ago $0.01 earnedTYLER'S ARREST FOOTAGE MISSING?! Local Police Claim Tyler Robinson Arrest Footage Has BEEN DELETED?!
48 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
319 watching -
1:37:16
omarelattar
17 hours agoEx-Mafia Boss: I Made $8 Million Every Week Until The FBI Destroyed My Life! What I Learned...
10 -
57:44
TruthStream with Joe and Scott
1 day agoShe's of Love podcast and Joe co-Hosted interview, Mother Claudia and Daughter Juliette: Traveling, Home School, Staying Grounded, Recreating oneself, SolarPunk #514
3.26K -
2:32:42
CAMELOT331
2 days agoCAMELCAST 107 | CECIL SAYS | My Last Stream? Being Kicked Off Youtube
1.78K2 -
1:16:28
Man in America
15 hours agoThe Study They Tried to BURY: Covid Shots Cause MASSIVE Spike in Cancer w/ Dr. Makis
171K36 -
2:07:43
Inverted World Live
8 hours agoNASA Finds Strange Rock on Mars w/ Cody Dennison | Ep. 145
95.4K5 -
3:29:04
TimcastIRL
7 hours agoTrump Calls For DEATH Of Democrats For Sedition, White House WALKS IT BACK | Timcast IRL
244K130 -
24:13
Jasmin Laine
11 hours agoPoilievre Can’t Stop LAUGHING—Liberals IMPLODE After U.S. Ambassador Calls Them Out
24.6K21 -
4:04:31
SpartakusLIVE
9 hours agoTexas FARMBOY turned WZ PRO turned REDSEC HERO turned ARC LOOT GOBLIN
56.8K