Option to disable react strict mode

Can Wasp add an option to disable react strict mode?
5 Replies
kapa.ai
kapa.ai3mo ago
Hi @Don Bugito. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The provided knowledge sources do not contain information about an option to disable React strict mode in Wasp. I recommend checking the Wasp documentation (https://wasp-lang.dev/docs) or their Github repository (https://github.com/wasp-lang/wasp) for more information. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Don Bugito, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
miho
miho3mo ago
Right now we using React strict mode since it's the recommendation by the React team https://react.dev/reference/react/StrictMode#enabling-strict-mode-for-entire-app Is there something you want to solve and that's why you need to disable it?
– React
The library for web and native user interfaces
Don Bugito
Don Bugito3mo ago
Just really annoying how API requests are repeated and done twice on strict mode
MEE6
MEE63mo ago
Wohooo @Don Bugito, you just became a Waspeteer level 1!
Don Bugito
Don Bugito3mo ago
I get that it's best practice but would be nice to have option to disable it
Want results from more Discord servers?
Add your server