electron/docs
Charles Kerr c83f836faf
refactor: prefer using app.whenReady() (#21972)
* docs: add references to app.whenReady() in isReady

* refactor: prefer app.whenReady()

In the docs, specs, and lib, replace instances of `app.once('ready')`
(seen occasionally) and `app.on('ready')` (extremely common) with
`app.whenReady()`.

It's better to encourage users to use whenReady():
1. it handles the edge case of registering for 'ready' after it's fired
2. it avoids the minor wart of leaving an active listener alive for
an event that wll never fire again
2020-02-03 22:43:22 +00:00
..
api refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
development docs: add links to the issue tracker, to developer/issues (#21945) 2020-01-31 14:50:05 +09:00
fiddles refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
images docs: Explain notarization, improve code-signing docs (#21373) 2019-12-13 11:16:20 -05:00
tutorial refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
breaking-changes-ns.md docs: move breaking changes out of API folder (#21870) 2020-01-28 22:19:18 +00:00
breaking-changes.md docs: move breaking changes out of API folder (#21870) 2020-01-28 22:19:18 +00:00
faq.md refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
glossary.md refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
README.md docs: move breaking changes out of API folder (#21870) 2020-01-28 22:19:18 +00:00
styleguide.md docs: differentiate static/instance class props (#19196) 2019-07-15 10:15:32 -07:00

Official Guides

Please make sure that you use the documents that match your Electron version. The version number should be a part of the page URL. If it's not, you are probably using the documentation of a development branch which may contain API changes that are not compatible with your Electron version. To view older versions of the documentation, you can browse by tag on GitHub by opening the "Switch branches/tags" dropdown and selecting the tag that matches your version.

FAQ

There are questions that are asked quite often. Check this out before creating an issue:

Guides and Tutorials

Detailed Tutorials

These individual tutorials expand on topics discussed in the guide above.


API References

Custom DOM Elements:

Modules for the Main Process:

Modules for the Renderer Process (Web Page):

Modules for Both Processes:

Development

See development/README.md