Is it normal __root.tsx is loaded 2x during dev?
I just wanted to know if it is normal that the __root.tsx is called multiple times, 2 times to be exact on each page load during dev? I noticed this is not the case in prod builds so I just wanted to confirm if that is the default behaviour or is there setting to change that behaviour.
3 Replies
rare-sapphire•2w ago
most likely this is caused by the browser requesting additional stuff such as this
https://gebna.gg/blog/annoying-well-known-appspecific-com-chrome-devtools-json-request
The Annoying "/.well-known/appspecific/com.chrome.devtools.json" Re...
Explaining how to prevent chrome from sending a request to your devserver at "/.well-known/appspecific/com.chrome.devtools.json"?, what is that request?, and how to make use of it ?
fair-roseOP•2w ago
Hi Manuel 👋 🙂 . This is embarrassing , just tested in an incognito tab and there are no duplicate calls to __root.tsx. So yeah it looks like it is probably some chrome devtools or chrome extension issue. Thank you. PS. Super cool to see all the progress 🔥, you have been cooking.
rare-sapphire•2w ago
no worries this is really an annoying default behavior ...