added lifecycle transform giving access to all react lifecycle methods