adriaanmulder
Joined 7 years ago
Karma
74
Submissions
28
Member since
Nov 6
Software developer at Input Logic.
View on Hacker NewsJoined 7 years ago
updateWhere(
thing => thing?.guid === postId,
post => ({...post, title: newTitle}),
networkCache
)
The alternatives as far as I can tell are:- normalize network responses, so you can get the post directly by id. But this is notoriously painful to do well
- or the code that handles this name change needs to know every request that references the post with that id, and update those titles manually
Is this function known by any other name?
Input Logic is a software agency based out of Nanaimo, British Columbia. We're looking for a backend or full-stack developer. Ideally your tool chest includes Python, Django, and Postgres — but we value good coding fundamentals, a great attitude, and a focus on shipping above all. We also use React, React-Native, and NextJs.
Job Posting: http://bit.ly/3XXQE9H About Input Logic: https://inputlogic.ca