Listens when child was removed

PHOTO EMBED

Sat Jun 05 2021 10:54:19 GMT+0000 (Coordinated Universal Time)

Saved by @nerdydave #javascript

database.ref('object').on('child_removed', snapshot => console.log(snapshot.val()));
content_copyCOPY

Prints out the exact object when a child has been removed.