In this example, you need to place min.bundle.js JS file in $jsDir directory.
Every page needs own JS view application which is bundled single file by bundler tool like webpack.

Typical entry file is like following code.

import render from './render';
global.render = render;

In next section we see the example of Redux with React applicaiton example.

Redux React

The Server Side

Inject an initial component HTML and initial state into a template to be rendered on the client side.
To pass along the state, we add a <script> tag that will attach preloadedState to window.__PRELOADED_STATE__.
The preloadedState will then be available on the client side by accessing window.__PRELOADED_STATE__.

We also include our bundle file for the client-side application via a <script> tag.
This is whatever output your bundling tool provides for your client entry point.