electron/docs/api
Tim Ruffles 4bc9bf7654 improve advice on callbacks passed from renderer to main
Remote is a great feature, it's a shame to put people off unnecessarily. I think the original warnings given are too extreme

The potential bugs that stem from not cleaning up event handlers (or any reference) are present in any Javascript code. We don't avoid using event-handlers in the DOM because we might forget to clean them up!

I've added an example of the behaviour of return values from synchronously called callbacks from renderer, and have changed the advice from 'you shouldn't do this' to 'be careful when you do this'.
2015-08-27 17:10:02 +01:00
..
accelerator.md Remove change to "mapped onto" in accelerator.md 2015-07-24 07:19:43 +01:00
app.md Replace platform notes with one general note 2015-08-25 10:12:21 -07:00
auto-updater.md Line wrap 80 2015-08-24 14:38:29 +02:00
browser-window.md Remove comments about remote buffer 2015-08-25 10:14:52 +09:00
chrome-command-line-switches.md Correct error in chrome-command-line-switches.md 2015-07-23 20:45:08 +01:00
clipboard.md Improve grammar and punctuation of clipboard.md 2015-07-23 18:01:00 +01:00
content-tracing.md tracing: fix api and docs 2015-08-05 02:29:55 +05:30
crash-reporter.md Improve grammar and punctuation of crash-reporter.md 2015-07-23 18:02:45 +01:00
dialog.md Made sure that lines are not longer than 80 characters 2015-08-22 05:09:37 +03:00
file-object.md docs: Atom Shell => Electron 2015-04-16 11:31:12 +08:00
frameless-window.md Fix several typos and grammar errors 2015-06-09 16:49:21 +02:00
global-shortcut.md Update global-shortcut.md 2015-07-14 16:58:15 +01:00
ipc-main-process.md reverted incorrect changes 2015-03-27 07:46:26 -05:00
ipc-renderer.md Renamed browser-side to main process 2015-03-26 10:20:31 -05:00
menu-item.md Improves #1373 2015-04-13 11:22:33 +08:00
menu.md Fixed typo 2015-07-24 06:53:55 -07:00
native-image.md Merge branch 'master' into nativeimage_ico_support_windows 2015-08-20 17:11:52 +03:00
power-monitor.md Update power-monitor.md 2015-04-15 08:17:10 -07:00
power-save-blocker.md More updates: use string instead of integer to identify blocker type. 2015-06-24 13:06:39 +08:00
process.md process: add hang method 2015-06-18 14:14:29 +05:30
protocol.md docs: callback => completion in some places 2015-08-21 20:16:56 +08:00
remote.md improve advice on callbacks passed from renderer to main 2015-08-27 17:10:02 +01:00
screen.md Small spelling mistake 2015-05-15 13:09:59 -07:00
shell.md shell: return status for moveItemToTrash on all platforms 2015-03-29 00:47:50 +05:30
synopsis.md 💄 Fix grammatical issue 2015-05-23 15:41:36 -04:00
tray.md popContextMenu => popUpContextMenu 2015-08-10 13:00:15 +08:00
web-frame.md Add webFrame.setZoomLevelLimits API 2015-08-27 22:08:25 +08:00
web-view-tag.md Fix formatting of print and printToPDF methods 2015-08-17 10:52:10 +02:00
window-open.md Update window-open.md 2015-07-14 16:37:52 +01:00