Modals in React
David Gilbertson

A variation on this theme is to have a Modal at the root, and send it children to render via Redux, like dispatch(openModal(<ConfirmDialog onConfirm={...}>bla bla</ConfirmDialog>), which is easy to use but puts React elements in the store (so the Modal can render them).

The openModal dialog could put the children in a singleton store outside Redux, but then you have to be careful about cleaning it up after the modal closes.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.