Jakob
Is the following a "clean" way of handling modals?
I'd do it with <Dynamic>: https://playground.solidjs.com/anonymous/cff5c54d-ef76-4a82-8f96-3c9011760bf7
that way you reduce code duplication and each modal doesnt have to be wrapped in <Show>
and maybe with props so the parent is responsible for managing state: https://playground.solidjs.com/anonymous/631dd352-3ea6-409b-82c8-ea42d4c6ddef
3 replies