Skip to content

Conversation

Goaman
Copy link
Contributor

@Goaman Goaman commented Oct 2, 2025

Refactoring of the reactivity system in Owl

Comment on lines 131 to 134
Promise.resolve().then(() => {
scheduled = false;
processAtoms();
});
Copy link
Contributor

Choose a reason for hiding this comment

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

If I understand this correctly, asynchronous state at the lowest level is really not ideal, this will make the code extremely complex if we need to wait something whenever we write a value before accessing dependent values.

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