DEV Community

loading...

Discussion on: Putting props to useState

Collapse
tkdodo profile image
Dominik D Author

Is the benefit of going the modal route worth changing my UI?

No, this was more of an example of how we already solve the issue with conditional rendering, which we also incidentally do a lot with modals :)