Closed RosarioDiBartolo closed 2 weeks ago
It sounds like it could be one a few things:
Unfortunately, these are outside the scope of this scaffolding example, and beyond my ability to provide meaningful support.
To rule out the scaffolding, you could try building a small version of your app with the same dependencies that only uses the default scaffold and isn't plugged into Flask. If the problem persists, you could try to figure out which project is causing the slowdown and open an issue in their repo.
I noticed how some times hot module replacement doesn’t work really well. When saving it my come to the whole page to be reloaded, and when it happens, it usually takes lot’s of time for the page to reload, while instead coping the url for the same page in another tab, loads the page almost immediately. I must say, I modified the home route, by using a “catch all route”, since I am using react router dom for routing , and modifying assets_url path of the flask app (it’s troublesome if you don’t do that, the catch all route won’t work for every path since it would aim for the assets)
By the way the hot module replacement problem persisted from before…