Aleksej Dix

Aleksej Dix

Vue.js Portals - Wormholes in you UI

Vue 3.0 is coming soon, but features like Portals can be used today. Portals are a very nice way of dealing with modals, popups and generally components that are meant to appear on top of the page. By using portals you can be sure that none of the host component CSS rules will affect the component that you want to display and reliefs you from doing nasty hacks with z-index.