wasp-lang / open-saas

A free, open-source SaaS app starter for React & Node.js with superpowers. Full-featured. Community-driven.
https://opensaas.sh
MIT License
8.01k stars 768 forks source link

Avoid page getting blocked by uBlock browser extension #292

Open Martinsos opened 3 days ago

Martinsos commented 3 days ago

This issue describes the problem: https://github.com/wasp-lang/open-saas/issues/289 .

It seems that when you create new open-saas app, uBlock chrome extension will block it so just white screen shows, confusing new users.

We should figure out why this happens and make sure it doesn't happen.

@infomiho had a theory that the fact that we have AnalyticsDashbaord.jsx components might be triggering it, or some other mention of analytics. Even if that is not correct, tehre is something in our code for sure that uBlock picks up as a thing to block, so let's figure out what it is and remove it / modify it.

Martinsos commented 3 days ago

@miho said:

I think the reason is the name of one of the components. Since Vite loads components one by one (not as a bundle) - the request has something like AnalyticsDashboardPage.tsx and then it looks like a request that uBlock wants to block.