FormidableLabs / redux-little-router

A tiny router for Redux that lets the URL do the talking.
MIT License
1.04k stars 114 forks source link

_ref is undefined #220

Open jsonmaur opened 7 years ago

jsonmaur commented 7 years ago

If I don't pass any options to routerForBrowser(), I get the error _ref is undefined. Passing an empty object routerForBrowser({}) removes that error, but brings me to another error: "Missing route configuration...". I'm not totally clear on why this route configuration is necessary if I'm not passing route-specific data and just using Fragments? Things seem to work fine when it's an empty object (routerForBrowser({ routes: {} }).