-
Notifications
You must be signed in to change notification settings - Fork 25
Scene perf 2 #4246
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
base: latest
Are you sure you want to change the base?
Scene perf 2 #4246
Conversation
/benchmarks |
1 similar comment
/benchmarks |
/benchmarks |
/benchmarks |
✅ https://github.com/ag-grid/ag-charts/actions/runs/15181693901
|
/benchmarks |
/benchmarks |
✅ https://github.com/ag-grid/ag-charts/actions/runs/15183596151
|
✅ https://github.com/ag-grid/ag-charts/actions/runs/15183610907
|
this.append(node); | ||
return node; | ||
} | ||
|
||
removeChild(node: Node) { |
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.
Seems odd to retain removeChild()
here - but I guess this is due to the dependency from remove()
?
Perhaps we could change parentNode
to be of an interface type, and have Group
implement that interface to break the dependency cycle whilst removing group-like behaviours from Node
?
import { Node } from './node'; | ||
|
||
class TestNode<D = any> extends Node<D> { | ||
class TestNode<D = any> extends Group<D> { |
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.
Nit: Could we move tests for Group
behaviours to group.test.ts
rather than exercising them here still?
No description provided.