Re:The top layer: a solution to z-index:10000
by throwaway1851 on Thursday August 25, 2022 @07:51PM
(#32601557)
Vue 3’s <Teleport> component pretty much solves this, as any component can inject a part of its template to anywhere else in the DOM (edit: even outside of the app’s root element). Very nice feature.
[ Parent
| on HN ]
Re:The top layer: a solution to z-index:10000
by ramesh31 on Friday August 26, 2022 @12:42AM
(#32603439)
>Vue 3’s <Teleport> component pretty much solves this,
It's so funny to me how transparently contrarian the entire Vue community is.
No no, they're totally not React Portals which have existed for 5 years... they're Vue Teleports!
Re:The top layer: a solution to z-index:10000
by throwaway1851 on Friday August 26, 2022 @04:03AM
(#32604485)
I’ve never used React. Was just posting a (potentially) helpful tip. What were you saying again about being contrarian?