In this video, we'll learn how to save and open a file using native dialogs in Electron. First, we'll use dialog.showSaveDialog
to display a native save dialog and use dialog.showErrorBox
to display an error message if the save failed. Then, we'll open the file we saved using dialog.showOpenDialog
. Finally, we'll look at how these dialogs look on Windows vs Mac.