atom/github

Replace getDerivedStateFromProps with memoization

Open

#1,611 opened on 2018年7月26日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)JavaScript (1,069 stars) (469 forks)batch import
code-cleanup :wrench:good first issue

説明

Where possible, it would be cleaner and less error-prone to replace components that implement static getDerivedStateFromProps() with PureComponents or memoize-one:

コントリビューターガイド