Place the rendered output before the spec tag (#1047)
Place the rendered output before the spec tag (#1047)

Many folks using the SSR features of react-on-rails are doing so in
order to improve SEO while simultaneously improving user experience.

It is commonly recommended to have key content rendered into the HTML at
the earliest possible point. From what I understand, there is no need
for the specification tag/script to come before the rendered content and
simply swapping the order can have a significant impact on the content
that fits within the 100kb "SEO optimized" page size.

e.g. if I have 50kb of state data followed by 100kb of the actual
rendered HTML, the bottom half of the page may not get indexed by
e.g. Google.
shakacode/react_on_rails,shakacode/react_on_rails,shakacode/react_on_rails,shakacode/react_on_rails,shakacode/react_on_rails