Skip to content

Conversation

ofk
Copy link
Contributor

@ofk ofk commented Aug 8, 2025

useState allows you to pass an initializer value. (Reference)
It would be convenient if useListState also supported initializers. Technically, we were passing values directly to useState, so we modified the type definitions accordingly.

@rtivital rtivital merged commit ccaca7b into mantinedev:master Aug 8, 2025
1 check passed
@rtivital
Copy link
Member

rtivital commented Aug 8, 2025

Thanks!

@ofk ofk deleted the fix-use-list-state-type branch August 9, 2025 07:16
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