title: How to use jinja2 server side rendering alongside react without violating inline-script CSP
body: <p>I am new to React and experimenting a bit. I would like to use it on my Flask site that uses Jinja2 templates. </p>
  
  <p>People seem to recommend to render data on the server-side first instead of having to always make an initial call for data on page load. I found this <a href="https://github.com/mhart/react-server-example" rel="noreferrer">nodejs</a> example but it just puts the data on the page in a global variable in an inline script tag. I was wondering if there was a clean way to do this other than just putting the data on the page inside an inline script tag. Because of my secure CSP policy I can't use inline scripts or eval.</p>
  
  <p>Is there an standard pattern people use to render data for React on the server without using an inline variable?</p>