<StoreInitializer> collects any required JavaScript from Middleware to include in the webpage.
This enables middleware to communicate with browser features to enable plugins such as ReduxDevTools.
Although it is not recommend that ReduxDevTools is used in any environment other than Debug this doesn't mean we can just stop executing that JS because third party libraries may exist that require it, such as Fluxor.Persist.
We need to support a way of retrieving this middleware as a JS file from the server so we can include a <script> in our page with an Integrity attribute => See here
<StoreInitializer>
collects any required JavaScript from Middleware to include in the webpage.This enables middleware to communicate with browser features to enable plugins such as
ReduxDevTools
.Although it is not recommend that
ReduxDevTools
is used in any environment other thanDebug
this doesn't mean we can just stop executing that JS because third party libraries may exist that require it, such asFluxor.Persist
.We need to support a way of retrieving this middleware as a JS file from the server so we can include a
<script>
in our page with anIntegrity
attribute => See here