React to resource changes

#59