結果 : mixing class and functional components react