move from react to ionic