React Router 6 – Full Course
By freeCodeCamp.org
Published: Apr 24, 2023
This course will teach you to build real-world apps with React Router 6. Click here to get to the interactive version 👉 https://scrimba.com/links/react-router-6-course
Throughout the course, you’ll be building an app called “VanLife” – an Airbnb-style web app dedicated to renting out travel vans for your next big road trip!
As you build “VanLife”, you will learn all the important parts of React Router, such as layout and index routes, nested routes, filtering results with search parameters, protecting routes for authenticated users, and more. You will also learn about the new Remix-inspired data router APIs, including Loaders and Actions.
This course was created by Bob Ziroll, Scrimba’s Head of Education.
🔗 Follow Bob on Twitter here: https://twitter.com/bobziroll
🔗 Follow Scrimba on YouTube: https://www.youtube.com/c/Scrimbaâï¸ Get the code âï¸
🔗 Via the Scrimba course: https://scrimba.com/links/react-router-6-course
🔗 Via the GitHub repo: https://scrimba.com/links/react-router-course-github-repoâï¸ Prerequisites âï¸
Before taking this course, you should already be well versed in HTML, CSS, JavaScript, and React.💫 Links mentioned in course:**
🔗 Scrimba’s Learn React Course – https://scrimba.com/learn/learnreact
🔗 VanLife Figma Design – https://scrimba.com/links/figma-vanlife
🔗 Firebase – https://scrimba.com/links/firebase-homepage
🔗 Firestore Docs, get all docs in collection – https://scrimba.com/links/firestore-docs-get-all-docs-in-collectionfirestore-docs-get-all-docs-in-collection)
🔗 Netlify – https://scrimba.com/links/netlify-home-page
🔗 GitHub Desktop – https://desktop.github.com/
🔗 Mirage JS – https://miragejs.com/
🔗 Bob Ziroll’s GitHub – https://twitter.com/bobzirollIntroduction to React Router 6
Multi-page vs single-page apps
React Router Setup & BrowserRouter
Extra: Local Development
Routes
BrowserRouter & Routes challenge
Route, path, & element
Quick Re-org
Link
VanLife project bootstrapping
Initial Deploy to Netlify
Mirage JS Server
Challenge: Vans Page
Route Params
Nested Routes Intro
Fixing the Navbar with a Layout Route
Bootstrap the Host pages
Nesting the /host routes
Creating the Host Layout
Relative Paths
Index Routes
To nest or not to nest?
Add Footer
NavLink
Active Link Styling with NavLink
Adding Host Vans Routes
🔀 Optional Side Quest – Building out the Host Vans List and Detail Pages
Building out the Host Van Detail page
Relative Links
Back to all vans
Add /host/vans/:id Nested Routes
Add the Final Navbar!
Outlet Context
Update deployed version on Netlify!
Search Params Intro
useSearchParams
Challenge: Set up search params in VanLife
Filter the array w/ the search param
Challenge: Filter the vans in VanLife
Using Links to add search params
Challenge: Filter the vans with Links
Using the search params setter function
Challenge: Filter the vans with a setter function
Caveats to setting params
Merging search params with Links
Merging search params with the setSearchParams function
Challenge: Conditional rendering practice
Fix remaining absolute paths
Back to all vans
Link state
useLocation
Challenge: conditionally render the back button text
404 Page
“Happy Path” “Sad Path”
Quick update to our fetching code
Coding the Sad Path – Loading state
Coding the Sad Path – Error handling
Loaders intro
createBrowserRouter
Setting up the data router
Loader function
Challenge: Vans List Loader
useLoaderData
Challenge: useLoaderData in Vans List page
Use the loader data instead of the useEffect
Loaders Quiz
Handling errors
Add errorElement to vans route
useRouteError
Initial Login Form
Note from the future: importing image assets in Vite
Protected Routes
Parallel Loaders demo
Challenge: Protected Routes w/ loaders
Challenge: Protected Routes – pt 1
Aside challenge: move remaining fetching to loaders
Challenge: Protected Routes – pt 2
Send login message prompt to login page
Consume message from search param on login page
Pass message to Login page
ðŸŒ¶ï¸ Take: Forms in React are bad
Setting up for authentication – happy path
Setting up for authentication – sad path
useNavigate()
React Router Form Component
Setting up the Action function
Add form and action to VanLife
Action function – params
Action function – request
Get form data in VanLife
Use data in action to log in
Better (but still fake) auth
Challenge: send user to /host route after log in
Form replace
useActionData
Action error handling
Action error handling in VanLife
useNavigation()
useNavigation in VanLife
get previous route pathname
redirectTo – pt 1
redirectTo – pt 2
redirectTo in VanLife
Deferring data
Promises and defer()
defer getVans()
Await component
Await in Vans route
Await vans refactor
React Suspense
Suspense in VanLife
Putting it all together – defer, Await, Suspense in HostVans
errorElements in remaining van loading pages
Placeholders are gone! 🎉
Cloud Firestore Setup 🔥
Cloud Firestore Code Setup
Collection reference and getVans() function
Create getVan() function
Refactor getHostVans function
Final loose ends
Outro
Top Headlines for April 27, 2023
Speed of US bank failures to play starring role in Fed, FDIC post-mortems
Analysis-China investment consensus cracks as politics fuel fears
South Korea, US to share nuclear planning to deter North Korean threat
Dell forecasts upbeat revenue on strong PC demand
House Republicans pass debt-ceiling hike, hoping to spur Biden to talks
[#Photoshop #Tutorial] 🔥 Master Photoshop Blend Modes in 1 Minute
🔥 Master Photoshop Blend Modes in 1 Minute
By Photoshop Training Channel
Published: Apr 04, 2023
Remove ANYTHING From a Photo in Photoshop with this
new groundbreaking A.I.-powered Tool!This game-changing feature harnesses the power of machine learning to effortlessly remove unwanted objects while preserving the integrity and depth of complex backgrounds.
Say goodbye to tedious editing and hello to the future of image manipulation.
Join us as we explore the revolutionary Remove Tool in Photoshop and learn how to transform your photos like never before!I hope you learn a lot!
🎯 SUBSCRIBE to get more amazing Photoshop tutorials!
â–º https://hi.switchy.io/Subscribe-to-PTC📘 INDEX – Remove Anything From a Photo in Photoshop
00:00 – Introduction
00:41 – How To Get The Remove Tool
00:49 – How To Use The Remove Tool
01:15 – How Does The Remove Tool Compare To Content-Aware?
02:07 – “Remove After Each Stroke” Option
02:58 – The Remove Tool Preserves Edges
04:01 – Remove AC Units From Buildings
04:37 – Remove All Distracting Elements From Photos
05:40 – Remove Blemishes with The Remove Tool
06:07 – Remove Flyaway Hair
06:34 – Remove Complicated Objects
07:25 – Remove Tourists from Vacation Photos
06:34 – Remove Complicated Objects
08:20 – Use The Remove Tool Alongside Other Tools
10:08 – Remove a Chainlink Fence from a Photo
10:36 – Remove Eyebrows and Eyes with The Remove Tool🔗 LINKS:
My New Podcast â–º https://www.youtube.com/playlist?list=PLSCxMu0u2UgkgbMn789nx9-iPA-dxTyAd
Premium Tutorials â–º http://ptcvids.com/shop
Become an Adobe Stock Contributor â–º https://swiy.co/Stock-Contributor
💾 TUTORIAL DOWNLOAD
►👠CONNECT
â— TikTok â–º https://www.tiktok.com/@jrfromptc
◠Instagram ► http://instagram.com/photoshoptrainingchannel📠CREDITS
â— Photoshop video tutorials by Jesus Ramirez#PhotoshopTutorial #Photoshop #PTCvids
[#Script #Coding] VueJS Live Promo – Register Now!
VueJS Live Promo – Register Now!
By codeSTACKr
Published: Apr 21, 2023
Register now and get 10% off! https://ti.to/gitnation/vuejs-london-2023/discount/Codestackr10
🦸 Become A VS Code SuperHero Today: https://vsCodeHero.com
🧑ðŸ¾ðŸ¤ðŸ§‘🽠Join my Discord developer community: https://discord.gg/A9CnsVzzkZ_____________________________________
ðŸ› ï¸ Tools I use:
🟠codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
🟠STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
🟠SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions
_____________________________________💖 Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________👀 Watch Next:
Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________🌠Connect With Me:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr
_____________________________________** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
#codeSTACKr #vuejs #learntocode
Top Headlines for April 26, 2023
McCarthy’s debt-ceiling bill tests unity of U.S. House Republicans
New BOJ chief’s first task may be to tweak forward guidance
Sudan’s Bashir and allies out of jail, Khartoum fighting flares
Dell forecasts upbeat revenue on strong PC demand
US Senators to introduce bill on Supreme Court conduct – WSJ
Japan’s Honda Motor in strategic collaboration deal with TSMC
[#AfterEffects #Video] 20 Ultimate Video Editing Tricks You NEED To Know!
20 Ultimate Video Editing Tricks You NEED To Know!
By Cinecom.net
Published: Apr 14, 2023
(advertising @Lickd) (advertising @lickd) Sign up to Lickd with my link for 14 days free stock music and 50% off your first mainstream chart track – https://go.lickd.co/Cinecomv5 – Everyone should know these 20 Editing tricks! Learn how to Improve your editing skills with these basic and advanced tips.
Download Unlimited Video Assets
â–º http://storyblocks.com/CinecomMore Creative Video Tricks
â–º https://www.youtube.com/playlist?list=PLV0ZcSTi6tB6KRE97gUKMPnrWnlFhVRjCRead More
► https://www.cinecom.net/video-editing-tips/ultimate-editing-tricks/👕 MERCH
► https://cinecom.net/merch🎬 Check our Award Winning Courses
► https://cinecom.net/courses💙 LETS CONNECT!
Instagram â–º http://cinecom.info/Instagram
Discord ► http://discord.gg/Cinecom💥 Download Unlimited Video Assets
â–º http://storyblocks.com/CinecomPraise You by Fatboy Slim
License ID: AdGkk6BBGpXPoints of Authority by Linkin Park
License ID: NXAJRYjqA0ZÍ Gær by Sigur Rós
License ID: l7XeW52OqrWLife Goes On by Oliver Tree
License ID: eYpPvPzrLjBNightmares by easy life
License ID: 5Wy5mRe0yavLove Me Again by John Newman
License ID: R3gao4Q6V67Let You Love Me by Rita Ora
License ID: 5Eye7ONJvOJWorst of You by Maisie Peters
License ID: YoZ5WGPxg8MC’est Comme Ça by Paramore
License ID: MKWMRr6EkvdAlarm by Anne-Marie
License ID: 7Yd47Zo6rQM#Cinecom #VideoEditing #TipsAndTricks
[#Script #Coding] Bash Scripting Tutorial for Beginners
Bash Scripting Tutorial for Beginners
By freeCodeCamp.org
Published: Apr 11, 2023
Learn bash scripting in this crash course for beginners. Understanding how to use bash scripting will enhance your productivity by automating tasks, streamlining processes, and making your workflow more efficient.
âœï¸ Course created by @Herbertech
💻 Code: https://github.com/herbertech/bash-intro-tutorial
âŒ¨ï¸ (00:00) Introduction
âŒ¨ï¸ (03:24) Basic commands
âŒ¨ï¸ (06:21) Writing your first bash script
âŒ¨ï¸ (11:29) Variables
âŒ¨ï¸ (14:55) Positional arguments
âŒ¨ï¸ (16:23) Output/Input redirection
âŒ¨ï¸ (23:23) Test operators
âŒ¨ï¸ (25:19) If/Elif/Else
âŒ¨ï¸ (28:37) Case statements
âŒ¨ï¸ (32:16) Arrays
âŒ¨ï¸ (34:12) For loop
âŒ¨ï¸ (36:03) Functions
âŒ¨ï¸ (41:31) Exit codes
âŒ¨ï¸ (42:30) AWK
âŒ¨ï¸ (45:11) SED🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
Top Headlines for April 25, 2023
Hyundai Motor bolsters US presence with $5 billion EV battery venture
World Bank sees Western Balkan economies resilient despite subdued growth
Factbox-Countries scramble to evacuate foreign citizens from Sudan
Dell forecasts upbeat revenue on strong PC demand
Biden meets Tennessee state lawmakers to discuss gun control
Canada minister says Teck should stay in Canada amid Glencore bid
[#Video #Design] One Click Thick – The Thicken Generator in Cinema 4D
One Click Thick – The Thicken Generator in Cinema 4D
By School of Motion
Published: Apr 05, 2023
In this tutorial Aharon Rabinowitz walks through one of the new features in Cinema 4D 2023 – the Thicken Generator. The tool allows you to add extra dimension to models with a lot of customizable options to suit your needs!
Ready to Learn Cinema 4D? Register for our C4D classes.
â›° Cinema 4D Basecamp – https://som.bz/3yMKrmc
ðŸš£â™€ï¸ Cinema 4D Ascent – https://som.bz/42iQGM1
🎒 All School of Motion Courses – https://som.bz/3SUg5YbIf you enjoyed this video from Aharon, make sure to check out his youtube channel for more awesome tutorials at http://youtube.com/aharonrabinowitz
Resources:
https://www.maxon.net/en/cinema-4d/features/thicken-generator
https://www.thepixellab.net/
https://www.core4d.com/ipb/store/product/42-core-primitives-10/
https://www.thepixellab.net/imperfect-metals-collection-for-redshift
https://www.thepixellab.net/bokeh-pro
[#Script #Coding] Extension! Easily Identify Multiple VS Code Windows
Extension! Easily Identify Multiple VS Code Windows
By codeSTACKr
Published: Feb 01, 2023
VS Code Tip of the Day
You can tell how useful this visual studio code extension is with over 2M installs!!
Do you ever have multiple vs code windows open at the same time?
Maybe you have your backend code in one window and your frontend code in another. Or maybe you’re juggling multiple projects at the same time like me.Context switching can become annoying when you’re trying to identify which window is which!
It doesn’t have to if you have the Peacock extension installed.
With this vs code extension, you can change the workspace color to be unique for each vs code window.Become A VS Code SuperHero Today: https://vsCodeHero.com
Join my Discord developer community: https://discord.gg/A9CnsVzzkZ
Tools I use:
- codeSTACKr VS Code Theme: https://marketplace.visualstudio.com/…
- STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
- SuperHero Extension Pack: https://marketplace.visualstudio.com/…
Show support!
- PayPal: https://paypal.me/codeSTACKr
Watch Next:
- Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yH…
Connect With codeSTACKr:
- Website: https://www.codestackr.com
- Twitter: https://twitter.com/codeSTACKr
- Instagram: https://instagram.com/codeSTACKr
- Facebook: https://facebook.com/codeSTACKr






