bbovenzi opened a new pull request #22170: URL: https://github.com/apache/airflow/pull/22170
Use `React.memo` and a custom equality function to eliminate unnecessary rerenders of the `StatusBox` component. Also use `unmountOnExit` for the `Collapse` component to avoid rendering unexpanded groups. StatusBox is the colored square that indicates a Task Instance. Before | After ---|--- <img width="269" alt="Screen Shot 2022-03-10 at 2 39 13 PM" src="https://user-images.githubusercontent.com/4600967/157767703-e16824fd-9958-4af3-918a-f4cbbd6165b1.png"> | <img width="177" alt="Screen Shot 2022-03-10 at 2 42 38 PM" src="https://user-images.githubusercontent.com/4600967/157767731-25af3c16-b573-481f-8ec0-9d1294b0ba7b.png">  |  --- **^ Add meaningful description above** Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information. In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed. In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x). In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
