module ReactOnRails::Helper
def redux_store_hydration_data
client side rendering of this hydration data, which is a hidden div with a matching class
to be setting up the stores in the controllers, we need to know where on the view to put the
ReactOnRails where to client render the redux store hydration data. Since we're going
Place this view helper (no parameters) at the end of your shared layout. This tell
def redux_store_hydration_data return if @registered_stores_defer_render.blank? @registered_stores_defer_render.reduce("".dup) do |accum, redux_store_data| accum << render_redux_store_data(redux_store_data) end.html_safe end