Everything about React Portals in 10 minutes

  Рет қаралды 11,796

Fullstack Simplified

Fullstack Simplified

2 жыл бұрын

In this video you will learn how to use React Portals to create amazing modals in your React App. You will also learn the advantages of React Portals and when and why to use them. You will also learn topics like event delegation and event bubbling.
📚 Materials/References:
- VS Code Extensions: • 5 Must Have Visual Stu...
- Create react app: reactjs.org/docs/create-a-new...
- React Portals Docs: reactjs.org/docs/portals.html
- GitHub Code for the project: github.com/FullstackSimplifie...
🧠 Concepts Covered:
- React Portals
- Event Delegation
- Event Bubbling
- Creating Modal with Portals
🌎 Find Me Here:
My Website: prasoon.me
LinkedIn: / prosoon-goswami
Twitter: / prasoongoswami4
GitHub: github.com/FullstackSimplified
Instagram: / prasoon_goswami

Пікірлер: 33
@gritsienkooleg3447
@gritsienkooleg3447 Жыл бұрын
Thank you, Bro! Very helpfull!
@Amvflix7
@Amvflix7 Жыл бұрын
Very well explained
@kritigoswami7382
@kritigoswami7382 2 жыл бұрын
Good work again. Keep posting 🙂
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thank you
@ashishkumarsingh9857
@ashishkumarsingh9857 2 жыл бұрын
Keep posting informative video.
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thanks alot
@rahulkrishna164
@rahulkrishna164 2 жыл бұрын
Learnt new thing today.
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thanks alot. Hope it helped you get the topic.
@Pareshbpatel
@Pareshbpatel Жыл бұрын
React Portals, beautifully explained. Thanks. {2023-07-24}
@FullstackSimplified
@FullstackSimplified Жыл бұрын
Glad this helped
@oncoding4520
@oncoding4520 Жыл бұрын
I had to come out here from a well known udemy course.... your explanations was amazing
@FullstackSimplified
@FullstackSimplified Жыл бұрын
Glad it helped. Thanks for watching
@user-kp1zd7on1d
@user-kp1zd7on1d 10 ай бұрын
same here
@akashbose3682
@akashbose3682 2 жыл бұрын
Well explained 👍
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thanks alot
@thecareercoach231
@thecareercoach231 2 жыл бұрын
Thankyou for sharing your knowledge🤝
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
You're welcome
@tanupriya9849
@tanupriya9849 2 жыл бұрын
Great explanation🤗🤗
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thanks alot
@ramesh90010
@ramesh90010 2 жыл бұрын
Good content. Keep up🙂
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thanks for the feedback
@habibulislam3386
@habibulislam3386 8 ай бұрын
great explaination..
@FullstackSimplified
@FullstackSimplified 7 ай бұрын
Thanks for watching. Glad this helped
@KAMIL-jc8nn
@KAMIL-jc8nn Жыл бұрын
Great tutorial
@FullstackSimplified
@FullstackSimplified Жыл бұрын
Thank you! Cheers!
@azaamabubacker
@azaamabubacker Жыл бұрын
Well explained
@FullstackSimplified
@FullstackSimplified Жыл бұрын
Glad it helped. Thanks for watching
@avertry9529
@avertry9529 Жыл бұрын
I noticed you had modal : 100% can you not use vh vw? I've used modals in react without portal.
@FullstackSimplified
@FullstackSimplified Жыл бұрын
Absolutely you can use modal without portal. But at times you have situations where you don’t want to render a modal deep inside a nested dom but also want to keep the parent child relationship intact. In these cases portal seems to be much handy. More over you always want your modal to be above all the contents. Using css will just make it visible at the top but eventually your modal will be nested deep inside decreasing the accessibility of your website.
@_its-vikash
@_its-vikash Жыл бұрын
position : fixed
@FullstackSimplified
@FullstackSimplified Жыл бұрын
Position fixed would add the modal to the under the same patent which we do not want portal doesn't only gives us styling options but also provides us the way to render elements out side the nested dom tree.
React useRef and forwardRef in depth
10:32
Fullstack Simplified
Рет қаралды 24 М.
How to Implement Dark Mode in React Like a Pro
29:09
Fullstack Simplified
Рет қаралды 1,9 М.
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 83 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 61 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 30 МЛН
Learn React Portal In 12 Minutes By Building A Modal
12:11
Web Dev Simplified
Рет қаралды 234 М.
Для чего нужен Portal в React, простым языком
11:13
Дмитрий Герасимов - о разработке в сфере IT просто
Рет қаралды 8 М.
Create a Modal With React Portals
13:11
Nikita Dev
Рет қаралды 4,2 М.
Micro Frontends for React Native
1:05:13
Ionic
Рет қаралды 3,8 М.
How To Increase Performance in React Apps
14:19
PedroTech
Рет қаралды 25 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 510 М.
Create react projects
22:33
Hitesh Choudhary
Рет қаралды 39 М.
Never Forget React forwardRef Again
9:33
Coding in Public
Рет қаралды 16 М.
Firebase Hosting using GitHub Actions - React | CI/CD
6:55
Fullstack Simplified
Рет қаралды 13 М.
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН