I've got simple app with React+Webpack2+react-hot-loader that showing data-table from Json file.
import Data from '../../src/data/last.json';
And when I start "webpack-dev-server" all info showing by table dynamically changes without full page refresh, when "last.json" overwrites with another app.
I'm using examples from GitHub react-hot-boilerplate and already read WebPack off doc about HMR, which says that:
The Hot Module Replacement functionality is not intended for use in production. You should only use it in your development configuration/environment.
Question: Can I ever achieve this behavior on production with hot-loader or only by ajax?
Or I need start using Redux with "changing store on the fly" on back-end?
Now i'm using php back-end with API's to front on React and I thought it'll be enough for my tasks. Am I wrong?