feature-router
Version:
Feature Based Navigation (using redux state)
31 lines (26 loc) • 815 B
JavaScript
import createRouteAspect from './routeAspect';
import featureRoute,
{PRIORITY} from './featureRoute';
//***
//*** Promote all feature-redux utilities through a centralized module.
//***
// NOTE: This non-default export supports ES6 imports.
// Example:
// import { createFeature } from 'feature-redux';
// -or-
// import * as FeatureU from 'feature-redux';
export {
createRouteAspect,
featureRoute,
PRIORITY,
};
// NOTE: This default export supports CommonJS modules (otherwise Babel does NOT promote them).
// Example:
// const { createFeature } = require('feature-redux');
// -or-
// const FeatureU = require('feature-redux');
export default {
createRouteAspect,
featureRoute,
PRIORITY,
};