Improve the performance of resolveFieldData
method in core
#4296
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
The resolveFieldData utility currently uses Object.keys as its first check before trying to return data. The call to Object.keys can get quite expensive and result in bad performance. This shows when its called for a large data set for a large number of components.
Reproducer
https://codesandbox.io/s/primevue-create-vue-issue-template-kw9g6i
PrimeVue version
3.*
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: