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

Fix set during render warnings <a2-repeat-loop> #17

Open
mikemitchel opened this issue Feb 5, 2021 · 0 comments
Open

Fix set during render warnings <a2-repeat-loop> #17

mikemitchel opened this issue Feb 5, 2021 · 0 comments
Labels
bug Something isn't working tech debt

Comments

@mikemitchel
Copy link
Collaborator

PM2 logs on DAT showing this warning:
ap[] is being set in render <a2j-repeat-loop>. This can cause infinite loops and performance issues. Use getters and listeners to derive properties instead. https://canjs.com/doc/guides/logic.html#Derivedproperties

Should likely happen in A2J author as well as this is a shared component. Possibly happening in other components as well.

@mikemitchel mikemitchel added bug Something isn't working tech debt labels Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tech debt
Projects
None yet
Development

No branches or pull requests

1 participant