Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
fix(#768): remove componentDidUpdate auto-reset to avoid premature reset on Suspense fallback
Sameer6305adb46134c419
diff --git a/explorer/src/ErrorBoundary.tsx b/explorer/src/ErrorBoundary.tsxindex abaa924c..94fdb876 100644--- a/explorer/src/ErrorBoundary.tsx+++ b/explorer/src/ErrorBoundary.tsx@@ -25,15 +25,7 @@ export class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryStconsole.error("ErrorBoundary caught an error:", error, errorInfo);}- componentDidUpdate(_prevProps: ErrorBoundaryProps, prevState: ErrorBoundaryState) {- // If the component has successfully rendered (hasError is false)- // and we were previously tracking retries, reset the retry counter.- // By checking prevState.hasError, we ensure this reset only triggers- // exactly once upon the recovery transition.- if (prevState.hasError && !this.state.hasError && this.state.retryCount > 0) {- this.setState({ retryCount: 0 });- }- }+resetErrorBoundary = () => {this.setState((prev) => ({