Skip to content

What is type of state of a component? #1639

Answered by Havunen
farooqkz asked this question in Q&A
Discussion options

You must be logged in to vote

Type of the state depends on the component type, its the second generic type parameter of the Component type.

Keep in mind that its not a good idea to read component state outside the component context. It sounds like you need some state management implementation if you want to share the state

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by farooqkz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants