Question about SSR/React, Metadata, and Dynamic Title


I am working on a boilerplate using FlowRouter-SSR and ReactLayout. I just made my main layout and was wondering if this was the best way to handle the document’s metadata and the dynamic setting of the title based on the route name.


I figured it out myself. Gist updated to reflect my decided upon method for document head metadata in SSR.