DEV Community


Discussion on: Putting props to useState

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 :)