UNPKG

redux-first-router

Version:

think of your app in states not routes (and, yes, while keeping the address bar in sync)

11 lines (9 loc) 201 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (routes) { return Object.keys(routes).map(function (key) { return routes[key]; }); };