HomePhabricator

[dagit] Reduce some extra renders in Schedules table

Description

[dagit] Reduce some extra renders in Schedules table

Summary: While investigating a bug, I spotted some extra unnecessary renders during idle time in the Schedules table. Use React.memo and useMemo to trim the excess.

Test Plan: View /instance/schedules, use React profiler to verify that there are no excess renders while idling.

Reviewers: bengotow, prha, dgibson

Reviewed By: dgibson

Differential Revision: https://dagster.phacility.com/D5935

Details

Provenance
dishAuthored on Jan 12 2021, 7:59 PM
Reviewer
dgibson
Differential Revision
D5935: [dagit] Reduce some extra renders in Schedules table
Parents
R1:569c87866245: rename s3_io_manager to s3_pickled_io_manager, adls2_io_manager to…
Branches
Unknown
Tags
Unknown