Subscribe to Evented Mind to watch the full video.

Already have an Evented Mind subscription?

Subscribe to Evented Mind to watch the full video.

Need a second look? Watch again

Creating a Reusable React Dialog Box

In this tutorial you'll see how to create a reusable dialog box using React, Meteor and Bootstrap. You'll see how to use React state to dynamically add or remove a css class depending on whether the dialog box is shown or not. Then you'll see how to wire up event handlers to change the state and work with the dialog box from a parent component by setting the special ref property of the dialog box. Finally, we'll pass a custom title and body to the dialog box from the parent component using properties.

  • React
  • Tutorial
Join the Discussion

Want to leave a comment? .