Ignore React and all the community specific acronyms, you're talking about a very fundamental problem that is technology agnostic and it's important to understand it from that perspective, so you can take this knowledge with you to any tool.<p>Whenever you try to precompile or even just cache an HTML file that relies on run time data, you are going to have to build your application in a way that is sympathetic to that. In most cases, you're going to have to figure out how to fetch the missing data on the client side and populate it into the template/runtime context.<p>This is an issue in Ruby, PHP, Javascript, React, Angular, Python... every single application with caching or compilation.