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

Again no, these are modeled as events around a thunk: dispatch START_SEARCH, -> ajax -> any necessary complex logic -> dispatch RESULTS_RECEIVED or QUERY_FAILED. Multiple reducers listen to the same events, acting as simple setters.


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

Search: