A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
prevent form rerendering infinitely due to NaNs (#7363)
Shahmir Varqha1ebf082cd011
diff --git a/frontend/src/plugins/impl/FormPlugin.tsx b/frontend/src/plugins/impl/FormPlugin.tsxindex b3f73f24a6..092fba375c 100644--- a/frontend/src/plugins/impl/FormPlugin.tsx+++ b/frontend/src/plugins/impl/FormPlugin.tsx@@ -230,7 +230,8 @@ const Form = ({// wrapped `elementId`, meaning the value of the wrapped element// can change without the plugin generating an eventconst wrappedValue = UI_ELEMENT_REGISTRY.lookupValue(elementId);- if (wrappedValue !== internalValue) {+ // Use Object.is as there can be NaN values+ if (!Object.is(wrappedValue, internalValue)) {setInternalValue(wrappedValue);}