Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's there a way to define routes in a nested, hierarchial fashion, preferably across multiple modules?

For example, with react-router, my root route object array I define by spreading out other route object arrays that I've imported from other modules in my project. And each of those do the same thing, recurring as necessary until I get to the full depth of my route tree.



No it's nor supported currently.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: