Hacker News new | past | comments | ask | show | jobs | submit login

Yep, that sounds about right. For us, API communication and some global events flow through channels into the app state, where it's distributed to components. For routing we've built up a library around secretary, where we write down a map of uris, handlers, and metadata (can be a modal, etc). Info about the current page and such goes into the app state and that drives the transitions between page components.



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

Search: