Tram-One / tram-one

🚋 Legacy View Framework For Vanilla Javascript
http://tram-one.io/
MIT License
36 stars 8 forks source link

Fix bug where first resolved element effects are not processed #183

Closed JRJurman closed 2 years ago

JRJurman commented 2 years ago

Summary

While trying to verify other performance issues, this bug was found where if the first element resolved had a useEffect, then it would not be processed because the EFFECT_STORE and EFFECT_QUEUE were the same object (and so trying to determine what new effects existed was thrown off).

Checklist