Skip to content

Commit

Permalink
Update documentation of ReactHost.reload method (#37691)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #37691

Update documentation of ReactHost.reload method

changelog: [internal] internal

Reviewed By: cortinico, philIip

Differential Revision: D46293519

fbshipit-source-id: 7292196385e39232f5910d90aeb1a12453372a5c
  • Loading branch information
mdvacca committed Jun 6, 2023
1 parent 90ffe92 commit ccf0667
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,8 @@ private void log(String method) {
* 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) {
Expand Down

0 comments on commit ccf0667

Please sign in to comment.