Comment

Comment by adriaanmulder

This is a simple function that I find quite useful. Crawl through an object to update some specific nested value. Useful for things like optimistic updates in a cache (eg. Find every instance of an object with some guid in any random data structure and update a field in it).

Is this function known by any other name?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton