Would it be possible to export `react-hook-form` functions/types?
See original GitHub issueSince react-hook-form
is included as part of @saas-ui/forms
, would it be possible to export functions/types from it as well?
I have ran into issues with version mismatches that cause functions such as useFormContext
to break. This happens when the my react-hook-form
dependency version is slightly off from the version that @saas-ui/forms
is using.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
FAQs | React Hook Form - Simple React forms validation
Does it work with Class Components? ... No, not out of the box. If you wanted to do this, you could build a...
Read more >[TypeScript] Export useForm return types · Issue #296 - GitHub
i want to pass some return values (for example watch, setValue, register, …) to a child component. But currently i can't access the...
Read more >React-Hook-Form Library | Common Use Cases
import { useForm } from "react-hook-form";export default function App() { ... If we want the user to perceive the error as soon as...
Read more >Taming Forms With react-hook-form - This Dot Labs
With react-hook-form , it is as simple as calling the register function with a configuration object defining the validation rules. For our case, ......
Read more >React hook form v7 Function components cannot be given refs ...
Your input component does not export ref as props since it is a functional component. React.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, we’ve decided to export everything in the next release. Will be released in the next few days.
Fixed in #81 and release in v1.4.0