I currently refactored a component with a very slow perfomance removing all methods from view, After refact the problem was solved and I thought the lag was due to methods in view but after a while I noticed the perfomance issue was due to console.log on those methods