Skip to content

Conversation

@megheaiulian
Copy link
Collaborator

@megheaiulian megheaiulian commented Feb 21, 2025

QoL improvements to types:

  • Allow omitting initialValue from useRef
  • export Ref type
  • Export type Options from component as ComponentOptions.
  • Improvements to useState

Fixes #466

@megheaiulian megheaiulian added enhancement New feature or request typings Problems with the types labels Feb 21, 2025
@megheaiulian megheaiulian self-assigned this Feb 21, 2025
@changeset-bot
Copy link

changeset-bot bot commented Feb 21, 2025

🦋 Changeset detected

Latest commit: 8ff7db9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
haunted Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Feb 21, 2025

Deploy Preview for hauntedhooks ready!

Name Link
🔨 Latest commit 8ff7db9
🔍 Latest deploy log https://app.netlify.com/sites/hauntedhooks/deploys/67b803dc5760cf00082c8583
😎 Deploy Preview https://deploy-preview-489--hauntedhooks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@megheaiulian megheaiulian changed the title feat/update types QoL improvements to types Feb 21, 2025
@megheaiulian megheaiulian merged commit b81c8ec into main Feb 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request typings Problems with the types

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using useState with generic types

3 participants