Replies: 1 comment 3 replies
-
I have an idea about a migration section for RHF docs. We'll explore it with @bluebill1049 sometime later.
But in regards to the deprecation note, the
So, it's not deprecated yet and it's only recommended to use the field array API instead. With the next major release there will be release notes mentioning the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been refactoring FieldArray-like code to use useForm and useFieldArray. I accidentally stumbled upon a note in
setValue
's docs that mentionedreplace
should be used instead when dealing withuseFieldArray
. This is great, but I would have totally missed it had I not been looking at the docs forsetValue
for a different field.Is there a way to bubble up or centralize the list of API deprecations/additions? I found the introduction of
replace
in the 7.15 release back Sept 2021, but it didn't have a note about it's specific replacement ofsetValue
foruseFieldArray
. Being able to see a list would be helpful for catching critical API changes, whether deprecations or new additions that improve DX.Maybe it could be added to the release notes? I'm not sure the format, but it would be helpful to see these separate from the release notes at large.
Beta Was this translation helpful? Give feedback.
All reactions