- 10
- 70 435
Frontend Interview Pro
India
เข้าร่วมเมื่อ 27 ส.ค. 2019
I make videos on Web Technologies such as React, TypeScript, JavaScript, NodeJS, MongoDB, Docker and much more.
The new React “use()” hook in 15mins
In this video, I'll teach you how to use the brand new use() hook in React. The use() hook can be used to read data from promises and context. Additionally, while the promise is being resolved by the use() hook, you can show loaders using the Suspense component and error messages using the ErrorBoundary component. The hook can also be called inside if-else statements and loops, making it extra special.
Timestamps -
0:00 Introduction
1:00 Actual tutorial starts
1:16 use hook with promises
3:10 Using suspense to show a loading screen while use hook resolves our promise
4:24 Using error boundary to show error screen when the promise fails to resolve
5:50 Caching of promise to prevent errors
10:25 Using use hook conditionally
12:25 Using use hook with loops
13:30 use hook cannot be used with try/catch
14:19 use hook with context
------------------
Follow me -
⚪ Instagram ➡ manish_boro
⚪ LinkedIn ➡ www.linkedin.com/in/manish-boro-692b16198/
------------------
My PC Specifications -
⚪ Graphic Card ➡ GALAX RTX 2060 amzn.to/3hmSsCZ
⚪ RAM ➡ HyperX Fury 8GB 3200MHz * 2 amzn.to/3k3Pc17
⚪ Processor ➡ Ryzen 5 3600 amzn.to/2FkQzd0
⚪ CPU Cooler ➡ CoolerMaster H410R amzn.to/3hql7rb
⚪ Motherboard ➡ MSI B450 Tomahawk Max amzn.to/2Fq10f6
⚪ Webcam ➡ Lenovo 300 FHD - FHD 1080P 2.1 Megapixel CMOS Camera, Ultra-Wide 95° Lens, 360 ° Rotation amzn.to/3JX4OkZ
⚪ Gaming Chair ➡ Green Soul Monster Ultimate Series (T) Multi Functional Ergonomic Gaming Chair with Premium & Soft Fabric amzn.to/3q9UCOe
** All the above mentioned links are affiliate links **
#React19 #ReactHooks #UseHook #JavascriptPromises #ReactContextApi #WebDevelopment #JavaScript #ReactJS
Timestamps -
0:00 Introduction
1:00 Actual tutorial starts
1:16 use hook with promises
3:10 Using suspense to show a loading screen while use hook resolves our promise
4:24 Using error boundary to show error screen when the promise fails to resolve
5:50 Caching of promise to prevent errors
10:25 Using use hook conditionally
12:25 Using use hook with loops
13:30 use hook cannot be used with try/catch
14:19 use hook with context
------------------
Follow me -
⚪ Instagram ➡ manish_boro
⚪ LinkedIn ➡ www.linkedin.com/in/manish-boro-692b16198/
------------------
My PC Specifications -
⚪ Graphic Card ➡ GALAX RTX 2060 amzn.to/3hmSsCZ
⚪ RAM ➡ HyperX Fury 8GB 3200MHz * 2 amzn.to/3k3Pc17
⚪ Processor ➡ Ryzen 5 3600 amzn.to/2FkQzd0
⚪ CPU Cooler ➡ CoolerMaster H410R amzn.to/3hql7rb
⚪ Motherboard ➡ MSI B450 Tomahawk Max amzn.to/2Fq10f6
⚪ Webcam ➡ Lenovo 300 FHD - FHD 1080P 2.1 Megapixel CMOS Camera, Ultra-Wide 95° Lens, 360 ° Rotation amzn.to/3JX4OkZ
⚪ Gaming Chair ➡ Green Soul Monster Ultimate Series (T) Multi Functional Ergonomic Gaming Chair with Premium & Soft Fabric amzn.to/3q9UCOe
** All the above mentioned links are affiliate links **
#React19 #ReactHooks #UseHook #JavascriptPromises #ReactContextApi #WebDevelopment #JavaScript #ReactJS
มุมมอง: 364
วีดีโอ
React 19 Hooks - useTransition, useActionState, useFormStatus, useOptimistic in 20 mins
มุมมอง 1.3K6 หลายเดือนก่อน
Learn the Latest React 19 Features: Async Functions in transitions using useTransition, useActionState, useFormStatus, and useOptimistic Hooks! In this video, you’ll learn: 1. How to implement async functions inside transitions using useTransition hook. 2. How to use the useActionState hook. 3. How to use the useFormStatus hook. 4. How to use the useOptimistic hook. Timestamps - useTransition 0...
Forget memo, useMemo, useCallback - Use the React 19 Compiler 🚀
มุมมอง 5037 หลายเดือนก่อน
With the introduction of the new React compiler, it's no longer mandatory to use memo, useMemo, or useCallback for memoizing components, values, and functions respectively. In this video, we'll explore how memo and useCallback can prevent unnecessary re-renders, demonstrate the installation of the React compiler, configure it with a Vite application, and showcase how the compiler optimizes perf...
React Pro Tip : Separate Business Logic from UI using Custom Hooks
มุมมอง 2.2Kปีที่แล้ว
Live Project Link - infinite-scrolling-example.vercel.app/ Github - github.com/manishboro/infinite-scrolling-example Follow me - ⚪ Instagram ➡ manish_boro ⚪ LinkedIn ➡ www.linkedin.com/in/manish-boro-692b16198/ My PC Specifications - ⚪ Graphic Card ➡ GALAX RTX 2060 amzn.to/3hmSsCZ ⚪ RAM ➡ HyperX Fury 8GB 3200MHz * 2 amzn.to/3k3Pc17 ⚪ Processor ➡ Ryzen 5 3600 amzn.to/2FkQzd0 ⚪ CPU...
Infinite Scrolling in React using Intersection Observer
มุมมอง 2.3Kปีที่แล้ว
Hey fellow developers, welcome back to a brand new video, today we'll see how to implement infinite scrolling in react using the Intersection Observer API. We'll be building a mini project to learn its implementation which is basically a products listing web-app. We'll be integrating infinite scrolling in it so that we don't fetch all the products at once and only fetch when we scroll. Live Pro...
React Pro Tip : Use Component Composition to fix Prop Drilling and Re-renders
มุมมอง 258ปีที่แล้ว
Hey fellow developers, in this video we'll see how we can fix the issue of Prop Drilling and Component re-renders in react using Component Composition. Component Composition is a pattern where we pass a component as a prop to some other components. Timestamps - Intro 00:00 What is Component Composition ? 00:30 Fixing Prop Drilling using Component Composition 03:40 Fixing the issue of Re-renders...
Storing S3 Bucket Image URLs in MongoDB using Multer, NodeJS
มุมมอง 31K3 ปีที่แล้ว
Learn to setup an AWS S3 bucket, generate API keys to access the bucket, using multer to upload images to S3, storing the returned URL in a database like MongoDB and sending a response consisting the URL back to the client. In the very last two videos we made the frontend, setup our backend server and connected to MongoDB. This is the last video of the series and here we will basically setup ou...
(#2 Backend) Profile Image Upload to Amazon S3 in React, NodeJS, MongoDB
มุมมอง 5K3 ปีที่แล้ว
Learn to upload images to an AWS S3 bucket using an API made in NodeJS and storing the image URL that S3 returns in a MongoDB database. You will get to know the ins and outs of connecting a React frontend and a NodeJS backend. Also learn to connect MongoDB atlas with your backend server. So in the very last video we made the frontend of our application and in this video we will continue with ou...
(#1 Frontend) Profile Image Upload to Amazon S3 in React, NodeJS, MongoDB
มุมมอง 8K4 ปีที่แล้ว
In this video I will show you how you can make a Profile Image Upload feature using React, NodeJS, MongoDB and Amazon S3. As you can see this is my current profile picture and here I have a little camera icon. When I click on this icon I get 3 options View, Change and Remove, so remove will basically remove my profile picture and change will allow me to upload a new profile picture. Timestamps ...
Crop, Zoom and Download images in React using react-easy-crop
มุมมอง 20K4 ปีที่แล้ว
So the image cropper that I am gonna show you guys how you can make is this. This is my current profile picture and when I click on choose and suppose let me select this image, well that's me of course. So as you can see when I have selected a new image a zoom bar appears. The use of the zoom bar is to just zoom the image and when the editing is done i can just click on change to upload the ima...