Ryan Kim
Ryan Kim
It seems to me the notification to listeners happen per field registration and the field registration happens twice in `useField` hook, once for setting up the initial state, and second...
Hi, @erikras, I believe the performance is related to second registration it's doing on the component initialization. I do have the PR for addressing the issue: https://github.com/final-form/react-final-form/pull/727 I can update...
@erikras Yes, seems like it's still a problem. I've created a repo to test the performance of initial registering: https://github.com/ryank109/react-final-form-pref [email protected] with 3000 fields ~7-8s with this fix, with 3000...
@erikras Any recommendations?
@erikras The problem is prominent when you use `react-final-form`, because the current implementation (before `silent` flag) calls the `register` twice. And by registering, it also notifies to all other subscribers....