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

Very true, maybe I'm overthinking it? In my head: If I update full_name from first_name and last_name whenever a user table row changes, if I do this naively I will update the user on every update and trigger a continuous loop of updates.

I have certainly created infinite loops while using React's componentDidUpdate, maybe it's just important to define triggers on single attributes rather than entire database rows.



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

Search: