How to use the redux-dynamic-modules.createStore function in redux-dynamic-modules

To help you get started, we’ve selected a few redux-dynamic-modules examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / redux-dynamic-modules / packages / todo-example / src / index.js View on Github external
import React from "react";
import { render } from "react-dom";
import { createStore } from "redux-dynamic-modules";
import { Provider } from "react-redux";
import App from "./components/App";

const store = createStore({});

render(
    
        
    ,
    document.getElementById("root")
);
github microsoft / redux-dynamic-modules / packages / typescript-example / src / App.tsx View on Github external
constructor(props: any, context: any) {
        super(props, context);
        this.store = createStore({ extensions: [getSagaExtension()] });
    }
    render() {

redux-dynamic-modules

Modularize the redux app by dynamically loading reducers, state and sagas

MIT
Latest version published 4 years ago

Package Health Score

59 / 100
Full package analysis