Skip to content

Commit 6feb067

Browse files
committed
more detailed description of unmount event option
1 parent 6c72713 commit 6feb067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/additional-reading/turbolinks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ TURBO: reactOnRailsPageLoaded
9999
```
100100

101101
## Unmount event
102-
By default Turbolinks 5 will handle `turbolinks:before-visit` event. If you use the same component on different pages this can cause the temporary disappearance of component during page load and even moving parts of the page. To fix this issue switch unmount event to `turbolinks:before-render`.
102+
By default Turbolinks 5 will handle `turbolinks:before-visit` event for unmounting rendered components before visiting next page. If you use the same component on different pages this can cause the temporary disappearance of component during page load and even moving the parts of the page. To fix this issue switch unmount event to `turbolinks:before-render`.
103103

104104
```js
105105
ReactOnRails.setOptions({

0 commit comments

Comments
 (0)