4 ms·
One interesting way of avoiding direct dependencies is to let modules interact with one another via reading/modifying DOM. It probably sounds strange, but the a
by romaniv 10y ago
One interesting way of avoiding direct dependencies is to let modules interact with one another via reading/modifying DOM. It probably sounds strange, but the approach works well when you want to create reusable code that also follows the progressive enhancement principle.