Ionic 5 Modal open multiple times

I need to reopen modal after dismiss but I don’t want recreate it. I need to reopen created modal before…


  1. create modal
  2. dismiss modal
  3. reopen modal

What is the best practices?

If I use present method, the modal will be recreated each time.

Please help me

This seems like the sort of thing that frameworks should be free to do as they see fit, given available resources in the runtime environment, so IMHO the best practice would be “design the app so that it doesn’t care about the details of how the lifecycle of its components is managed”.

That’s literally a cool practice. See here