-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Asset-graph] Rename a few props #25949
Conversation
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit ce031ca. |
js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetGraphExplorer.tsx
Outdated
Show resolved
Hide resolved
@@ -107,6 +108,8 @@ export const AssetGraphExplorer = (props: Props) => { | |||
|
|||
const {explorerPath, onChangeExplorerPath} = props; | |||
|
|||
const explorerPathRef = useUpdatingRef(explorerPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a ref to avoid changing the callback every render.
Summary & Motivation
as titled