2 ms·
The trick is to make as much as possible static. Just pure functions. Second trick is to have only one way direction, eg components only listen to events, they
by z3t4 6y ago
The trick is to make as much as possible static. Just pure functions. Second trick is to have only one way direction, eg components only listen to events, they don't emit events, then they don't have to depend on each other, which in turn will lead to better reusability and less spaghetti.