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

What you've described is pretty similar to Flux or one of its variants. The main difference would be that instead of managing state inside of the root component via setState, you have an external state ("store"), which would handle the state logic and provide the appropriate values as props to the root component. So yes, it sounds like you're doing it "right".


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

Search: