Hello! I wrote an afterUpdate() data hook. As written, it is supposed to log some print stubs to console, update a second database, and return an unchanged item.
However, when the database with the attached hook is updated (and the new table entry is visible afterwards, so it definitely updated), no message appears in the console and the second database is unchanged.
It's possible that there's an error in my code, but I began to wonder about the limitations of data hooks, specifically about their ability to cause side effects throughout the site, so I wanted to check if they are somewhat sanitized. The only example in the tutorial section only effects the original database in question.