Skip to content

[Task]: Perf - Optimize JSON From widget's invocation of react-hook-form clearError method #35739

@ashit-rath

Description

@ashit-rath

Optimising clearErrors called from JSONForms in this file app/client/src/widgets/JSONFormWidget/fields/useRegisterFieldValidity.ts.

Considering the number of spans generated and the p95 being quiet high around 30ms. During page load for our customer Xolair the clearErrors cumulatively contributed to about 1 second in the main thread scripting.

Screenshot 2024-07-06 at 6 27 29 PM

Relevant discussion - https://theappsmith.slack.com/archives/C024GUDM0LT/p1723206363693759

Metadata

Metadata

Assignees

Labels

JSON FormIssue / features related to the JSON form wigetPerformanceIssues related to performancePerformance PodAll things related to Appsmith performanceTaskA simple TodoWidgets & Accelerators PodIssues related to widgets & AcceleratorsWidgets ProductThis label groups issues related to widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions