Created
May 17, 2020 11:46
-
-
Save abulka/c84161fb7c8e873b5271215d5666c9eb to your computer and use it in GitHub Desktop.
TodoMVC-ECS Housekeeping Trick Part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
engine.system('reset-todos', ['housekeeping'], (entity, { _ }) => { | |
this.todos = [] | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment