mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update documentation of ReactHost.reload method (#37691)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37691 Update documentation of ReactHost.reload method changelog: [internal] internal Reviewed By: cortinico, philIip Differential Revision: D46293519 fbshipit-source-id: 38372ca1016c50d5d74ec7a6e7f9e44238c4899b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
57e79faf58
commit
4002a251a5
+2
@@ -1017,6 +1017,8 @@ public class ReactHost {
|
||||
* Entrypoint to reload the ReactInstance. If the ReactInstance is destroying, will wait until
|
||||
* destroy is finished, before reloading.
|
||||
*
|
||||
* @param reason {@link String} describing why ReactHost is being reloaded (e.g. js error, user
|
||||
* tap on reload button)
|
||||
* @return A task that completes when React Native reloads
|
||||
*/
|
||||
public Task<Void> reload(String reason) {
|
||||
|
||||
Reference in New Issue
Block a user