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

tbh that doesn't sound like a Redux-specific problem. That sounds like a general async / stale-references problem. If you've captured a value and try to use it later, then yeah, you're probably going not going to be using the latest version.



Which is a design flaw of redux. Proper systems allow you to access the current state value at all times, without having to worry about batching.




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

Search: