publish: app: combine componentWillReceiveProps and componentWillMount

generated from commit ea080b0edd512c363839fd6d811b306a400a5f78