baked noodle
baked noodle13h ago

deno bundle react production mode

How do I inform react to run in production mode when bundled with deno bundle? I am building a SPA with react and deno from the ground up and was debugging effects firing twice, it turned out that this is caused by react's strict mode, which is supposedly 'only used in development' but I haven't been able to find any information anywhere about what 'only used in development' actually means, because I am building my bundle and deploying it to prod, so whatever system this is using isn't working. How do I get deno's bundler to inform react that it is to run in production mode?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?