Availability of ReactOnRails in native JS?

Hi Folks
I have read “Using ReactOnRails in JavaScript” but I have so far been unable to make this work. Simiply, “ReactOnRails is not defined”

Is there some necessary step to make ReactOnRails available globally, or is there some event to know when it has become available?

Alex Mouton

Aha. Yes.
I was trying to graft a new pool of native React onto an existing React On Rails code base and had failed to include the bundled application js on on my separated root slim.

Alex Mouton

1 Like

@Mouton I’m glad you found the answer.