I have developed an application with react which I deploy in docker then pull the images on my raspberry pi and then direct wails to use this docker application to show my ui. So far it works but the animations are kinder laggy and it is not even big animation just a card hover when the mouse is on it but I noticed that even my mouse is a bit laggy I tried Pi Os and ubuntu both have same problems. I checked if rendering is done via cpu but it says V3 so it means its gpu as far as I know I tried reducing the design and animation of my application but still there is lag. My Pi is connected to my TV around 50-60 inches and has 4gb I also tried to check a raspberry pi 5 but it also lags with mouse input