DEV Community


Discussion on: How to make routable modals in react with react-router

akaguny profile image

Another one: what do you think about statefull forms in modal and close modal on submit? I'm really do not think about it such as brilliant idea, but maybe it can be usefull. In example in one of my previous project we have isolated forms that can be opened on fullscreen or in modal. And we was injected dialog controller to form when open in modal, and close modal when form end to work.