liberty-rising / DocShow-AI

https://docshow.ai
1 stars 0 forks source link

Bug: Double requests are sent to the backend for each action #203

Closed liberty-rising closed 10 months ago

liberty-rising commented 10 months ago

React.StrictMode is a wrapper component that checks for potential problems in the app during development. It intentionally double-invokes certain methods (including render methods) to help detect side-effects. This double-invocation only happens in development mode, not in production.