Re:Speeding up Unreal Editor launch by not spawning 38000 to...
by Cthulhu_ on Saturday September 06, 2025 @04:12AM
(#45147510)
Alternatively, how many modals can be open at any given time? And is it a floating element? May be an option to make it a global single instance thing then, set the content when needed. Allows for in/out transitions, too, as another commenter pointed out. See also "Portals" in React.
[ Parent
| on HN ]
Re:Speeding up Unreal Editor launch by not spawning 38000 to...
by adithyassekhar on Saturday September 06, 2025 @12:30PM
(#45150676)
There is only one. Won't contexts cause rerenders through the tree? We already use portals. It's just each modal have complex logic inside them that they're their own component.