Skip to content

Conversation

mohamedsalem401
Copy link
Member

No description provided.

Comment on lines +107 to +113
dataListeners.push(
this.createListener(em, DataSourcesEvents.path, ({ path: eventPath }: { path: string }) => {
if (eventPath.startsWith(path)) {
this.onChange();
}
}),
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we really need this? 🤔

I guess I understand the reason behind it but it seems it could trigger too many unnecessary checks. When we add data components, I'd expect them to be already listening to the exact paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants