Skip to content
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

AE: Array method in AE freezes lively #412

Open
Markus-Brand opened this issue Feb 2, 2021 · 0 comments
Open

AE: Array method in AE freezes lively #412

Markus-Brand opened this issue Feb 2, 2021 · 0 comments

Comments

@Markus-Brand
Copy link
Contributor

import _ from 'src/external/lodash/lodash.js';
const options = [1, 2, 3];

aexpr(() => {
  let x = 0;
  options.forEach(y => x+=y);
  lively.notify("x: " + x);
  return x;
}).onChange(lively.notify);

options[0]++;
options.values()

Creating the hook triggers the AE Evaluation, which creates a hook and so on

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

No branches or pull requests

2 participants