React Cookbook
上QQ阅读APP看书,第一时间看更新

How it works...

Even with functional components, we can validate our PropTypes. Remember, if you don't need any dynamic data or local state then you should consider using a stateless component. This will improve the performance of your application.