Skip to content

Typescript setState accepts a partial state, even if the replace option is enabled #2578

Answered by dai-shi
Yonom asked this question in Bug report
Discussion options

You must be logged in to vote

I agree it's a reasonable fix. Would you like to open a PR please?
I don't know if it causes some troubles in some edge cases.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Yonom
Comment options

@dai-shi
Comment options

@dai-shi
Comment options

Answer selected by Yonom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants