Everything about React Portals in 10 minutes

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

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!
@kritigoswami7382
@kritigoswami7382 2 жыл бұрын
Good work again. Keep posting 🙂
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thank you
@Amvflix7
@Amvflix7 Жыл бұрын
Very well explained
@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 9 ай бұрын
same here
@rahulkrishna164
@rahulkrishna164 2 жыл бұрын
Learnt new thing today.
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thanks alot. Hope it helped you get the topic.
@akashbose3682
@akashbose3682 2 жыл бұрын
Well explained 👍
@FullstackSimplified
@FullstackSimplified 2 жыл бұрын
Thanks alot
@ashishkumarsingh9857
@ashishkumarsingh9857 2 жыл бұрын
Keep posting informative video.
@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 7 ай бұрын
great explaination..
@FullstackSimplified
@FullstackSimplified 6 ай бұрын
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.
@Pareshbpatel
@Pareshbpatel 11 ай бұрын
React Portals, beautifully explained. Thanks. {2023-07-24}
@FullstackSimplified
@FullstackSimplified 11 ай бұрын
Glad this helped
@_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.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 463 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 472 М.
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 6 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 120 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 30 МЛН
Хотите поиграть в такую?😄
00:16
МЯТНАЯ ФАНТА
Рет қаралды 2,7 МЛН
React useRef and forwardRef in depth
10:32
Fullstack Simplified
Рет қаралды 24 М.
Learn React Portal In 12 Minutes By Building A Modal
12:11
Web Dev Simplified
Рет қаралды 233 М.
Для чего нужен Portal в React, простым языком
11:13
Дмитрий Герасимов - о разработке в сфере IT просто
Рет қаралды 8 М.
Micro-Frontends in Just 10 Minutes
11:00
Jack Herrington
Рет қаралды 221 М.
10 React Antipatterns to Avoid - Code This, Not That!
8:55
Fireship
Рет қаралды 725 М.
Create a Modal With React Portals
13:11
Nikita Dev
Рет қаралды 4 М.
Let's Build a VIRTUALIZED LIST from Scratch in React.js
12:46
Raj talks tech
Рет қаралды 4,7 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 154 М.
How To Increase Performance in React Apps
14:19
PedroTech
Рет қаралды 25 М.
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 6 МЛН