Skip to content

Conversation

@aranlucas
Copy link
Contributor

New content

  • watch
  • use-form-context
  • unregister
  • set-focus
  • reset
  • reset-field
  • handle-submit
  • controller
  • control
  • clear-errors

Edited content:

  • use-form

Other changes added:

  • New admonition component for notes/tips
  • All components now use same highlight component
  • Same menu component for everyone
  • cleaning up unusued code
  • Down to 27 TS errors

Found 27 errors in 5 files.

Errors Files
17 src/components/ApiRefTable.tsx:141
5 src/components/BuilderPage.tsx:99
1 src/components/CodeCompareSection.tsx:74
1 src/components/DevTools.tsx:116
3 src/components/Form.tsx:174

@vercel
Copy link

vercel bot commented Jun 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hook-form-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 3:25am

),
}

const admonition = cva(styles.admonition, {
Copy link
Member

@bluebill1049 bluebill1049 Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switch to img tag instead of inline svg?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe I did it this way because there is SOME styling applied to the SVGs. Can that be done with inline img?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no worries, img is normally better than inline svg, with better perf, and better cache, but don't worry about it. Large PR I will continue my review.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, I'm sorry for the large PR's :(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not at all, thanks for soring everything out and making a huge improvement on the site.

Copy link
Member

@bluebill1049 bluebill1049 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks so good, i love those
Screenshot 2023-06-18 at 10 17 24 am

@bluebill1049 bluebill1049 merged commit 8562068 into react-hook-form:master Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants