HelloJS - React Portal Tutorial - reusable portal component with typescript

preview_player
Показать описание
HelloJS is a channel created by developer for developers.
This video is created to help you build reusable component using React.Portal feature.

_____

Repository:

_____

Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.

ReactDOM.createPortal(child, container)

_____

Music:
Youtube library - Luxery
Рекомендации по теме
Комментарии
Автор

What do you think about React Portal feature? Do you like that? Let me know in comments

hellojs
Автор

Great video! Easiest React, Typescript and Portal tutorial I found. Keep up the good work and keep producing React & Typescript videos.

mattharris
Автор

So, what if you want to put some transitions to the modal? (like opacity from 0 to 1). Can you make another video doing that?

bonavida