ParentFull threadsktguha·couldn't you just write the same function to handle the prop in both componentDidMount and componentDidUpdate ?View on HN