customize library
Hi
I want to customize react-hook-form of refine but I faced a problem that I should there some libraries that I should fetch them from refine core
if I use the original react-hook-form , will I face any problem if I use refine to build my apps
thanks
4 Replies
Hey @saji_nael! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
----------------------
Hi there,
Thanks for your question. Refine does offer an adapter for React Hook Form, which allows you to seamlessly integrate the library with refine. However, if you choose to use the original React Hook Form library, you may face some issues when building your apps with refine.
The adapter is designed to work with the core features of refine, such as authentication, state management, data fetching, and routing. If you use the original React Hook Form library, you may not be able to take advantage of these features.
For more information, please refer to the documentation (https://refine.dev/docs/).
----------------------
<@1000087684632547538> kapa.ai is still learning and improving, please let us how it did by reacting below
eastern-cyan•2y ago
you can use react-hook-form without problem but, you will use
core
functionality from refine
like, automatic notification popup, route based action detection etc.
but my question is, why you need to use orginal react-hook-form ? with refine@4
with refine@4, All react-hook-form imports re-exported from @pankod/refine-react-hook-form have been removed.
you can see here: https://refine.dev/docs/migration-guide/3x-to-4x/#pankodrefine-react-hook-form-changes
you can use useForm
from with all functionalities along with react-hook-form
national-gold•2y ago
because i built a library that generates form dynamically and I built it based on react hook form
so i want to rebuild it depends on refine react hook form ,where I tried and I installed refine react hook form but there were missing things like useQueryClient and so on