question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Would it be possible to export `react-hook-form` functions/types?

See original GitHub issue

Since 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:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Pagebakerscommented, Sep 2, 2022

Thanks, we’ve decided to export everything in the next release. Will be released in the next few days.

0reactions
Pagebakerscommented, Sep 8, 2022

Fixed in #81 and release in v1.4.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found