redux-beacon integration for redux-dynamic-modules.
Download node at nodejs.org and install it, if you haven't already.
npm install redux-dynamic-modules-beacon --save
import { createStore, IModuleStore } from "redux-dynamic-modules";
import GoogleAnalytics from '@redux-beacon/google-analytics';
import { UsersModule } from "./usersModule";
const store: IModuleStore<IState> = createStore(
{
initialState: {},
extensions: [getBeaconExtension(GoogleAnalytics())],
},
UsersModule
);