0

In a react rails project I have converted over from react-rails gem to react_on_rails. Some of the components which are shown in an infinite scroll are re-mounted when they scroll in with ReactRailsUJS.mountComponents. How can I remount the components in this way using react_on_rails

svnm
  • 22,878
  • 21
  • 90
  • 105

1 Answers1

0

I found the answer to this issue and have closed the issue

ReactOnRails.reactOnRailsPageLoaded() can be called to remount components on the page manually after async loading.

svnm
  • 22,878
  • 21
  • 90
  • 105