The comments on the dehydrateStore and hydrateStore methods of the example sheets are incorrect. E.g. the comment for dehyrateStore says:
// This is invoked any time Firebase data changes.
However, dehydrateStore is called when the sheet data changes in order to update firebase. HydrateStore is called when the firebase data changes in order to update data on the sheet.