My project is slow


#1

Hi, my app don’t respond well when I “tap” on buttons and links.

I read some article about that but I can’t find the problem.

I need some suggestions.


#2

The issue could be any number of things unfortunately. If it is just a case of standard 300ms browser tap delay, then that can be solved by making sure that any element in your application that can be tapped is either an <a> element or a <button> element. Otherwise, you should make sure that you add the tappable attribute.

If that isn’t your issue, then you’re probably dealing with general web performance issues caused by code that isn’t designed efficiently. I have a basic outline of the browser rendering process in this article: https://www.joshmorony.com/ionic-framework-is-fast-but-your-code-might-not-be/ - the basic idea is that the browser loops through a particular process to “paint” what the user sees on the screen. If your code is slowing down this process too much, it’s going to result in your application becoming less responsive/more janky. The bad news is if you are doing something that is causing this, then it may be hard to spot unless you know what you’re looking for.


#3

Thanks for answer and your blog / videos.