How to use the redux-bundler.createUrlBundle function in redux-bundler

To help you get started, we’ve selected a few redux-bundler 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 dwarvesf / template-react-app / template / src / bundles / index.js View on Github external
import { composeBundles, createUrlBundle, createCacheBundle } from 'redux-bundler';

import routes from './routes';
import extraArgs from './extra-args';
import cache from '@/utils/cache';

export default composeBundles(
  createUrlBundle(),
  routes,
  createCacheBundle(cache.set),
  extraArgs,
);