Caching with Webpack, [hash] value inside index source code, using React.js
问题 I'm building an isomorphic application. It is completely built with react -- namely, the html base is also in react. I have my root html as an app component. It looks something like this: ... var AppTemplate = React.createClass({ displayName: 'AppTemplate', render: function() { return ( <html> <head lang="en"> <title>hello</title> <link rel="stylesheet" href='/css/style.css' /> </head> <body> <RouteHandler {...this.props}/> <script type='text/javascript' src='/js/bundle.js' /> </body> </html>