feat(view): add onChange implementation to view.

Replaced all forEach.